POST
/
Customer
/
{customerId}
/
consent
curl --request POST \
  --url https://api-sandbox.payabli.com/api/Customer/{customerId}/consent \
  --header 'requestToken: <api-key>'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "responseData": " "
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

customerId
integer
required

Payabli-generated customer ID. Maps to "Customer ID" column in PartnerHub.

Example:

998

Response

200
application/json
Success
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

responseCode
integer | null

Code for the response. Learn more in API Response Codes.

Example:

1

pageIdentifier
string | null

Auxiliary validation used internally by payment pages and components.

Example:

null

responseData

The response data.

Was this page helpful?