Store user attributes
This POST endpoint is used to store user attributes, allowing you to associate additional data with a user token. <br> To use this endpoint, you need to provide the user_token, endpoint_token, and currency as parameters in the URL Path. You also need to provide the attribute values as JSON parameters in the Request body. <br> If existing attributes are already stored for the user, this call will override their values.
Path parameters
Token representing the user to store attributes for
Token representing the transaction endpoint — either the destination_token for payouts (e.g., MassPay → Brazil → Bank Deposit → Itau), or the origin_token for pay-ins. For payouts, this value is retrieved from the country services endpoint.
Headers
Unique key to prevent duplicate processing
Request body
Example request
{
"values": [
{
"token": "e2ca24e9-c546-4c64-90d2-cb8e70e7c9ba",
"value": "432532532"
}
],
"attr_set_token": "attr_set_e2ca24e9-c546-4c64-90d2-cb8e70e7c9ba",
"label": "JPMorgan Chase"
}Response
Succesfully created.