curl --location --request POST 'https://identity.payroc.com/authorize' --header 'x-api-key: <api key>'
{"access_token": "eyJhbGc....adQssw5c","expires_in": 3600,"scope": "service_a service_b","token_type": "Bearer"}
curl-H "Content-Type: application/json"-H "Authorization: <Bearer token>"-H "Idempotency-Key: <UUID v4>"
Order #
."customFields": [{"name": "EXAMPLE","value": "1"}]
Parameter | Description |
---|---|
name | The name of the custom field. This must match the name you provided in the Self Care Portal and is case-sensitive. |
value | The string value for the custom field. |
Important: If there is a problem with the custom field, we still process the request but we don't return the custom field in the response. For example, if the name of the custom field doesn't match the name you provided in the Self Care Portal, we don't return the custom field in the response.
"customFieldNames": ["yourCustomField"]
Important: The name of the custom field must match the name you provided in the Self Care Portal.