Customers
Create a customer
Changed onCreate a new customer with the provided information. Sending tag_ids also requires the tags:write scope. Optional tag_ids are applied in the same transaction as the customer: if any tag cannot be applied, no customer is created. The reply's tag_ids are the tags applied at creation; system tags such as No Payment Method are added asynchronously right after, so a later GET may show more tags.
post/customers
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/customers
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: customers:write
Request body
Example request
{
"tag_ids": [
"0b8f3c5e-6d2a-4f1b-9a7e-3c4d5e6f7a8b"
]
}Response
Created
Example response
{
"tag_ids": [
"0b8f3c5e-6d2a-4f1b-9a7e-3c4d5e6f7a8b"
]
}Changes
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- info
- breaking
the request property
became required - breaking
the request property
became required
- breaking