Customers
Creates a new customer object
The unique identifier of a customer.
5823594808The identifier of the default source attached to this customer.
fd74a5c5-0163-469a-ae8e-031f0259b576A locale designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
en_USThe type of customer.
individualPossible values: Usually used to disable the customer. The default is true. If false, attempts to create orders for the customer will fail.
true201 Created
400 Bad Request
401 Unauthorized
403 Forbidden
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
Retrieves the details of a customer by supplying the unique identifier of the customer
Customer ID
200 OK
The unique identifier for the customer.
5823594809The time at which the customer was created.
2018-04-25T20:36:00ZThe identifier of the default payment source attached to this customer.
If true, indicates this customer has requested to be forgotten.
falseExample: trueThe type of customer.
individualPossible values: A locale designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
en_USUsually used to disable the customer. The default is true. If false, attempts to create orders for the customer will fail.
trueHas the value true if the object exists in live mode or the value false if the object exists in test mode.
falseTime at which the customer was last updated.
2018-04-25T20:36:00Z400 Bad Request
401 Unauthorized
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
Updates an existing customer
Customer ID
The identifier of the default source attached to this customer.
fd74a5c5-0163-469a-ae8e-031f0259b576If true, indicates this customer has submitted a request to be forgotten.
trueThe type of customer.
individualPossible values: A locale designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
en_USUsually used to disable the customer. The default is true. If false, attempts to create orders for the customer will fail.
true200 OK
The unique identifier for the customer.
5823594809The time at which the customer was created.
2018-04-25T20:36:00ZThe identifier of the default payment source attached to this customer.
If true, indicates this customer has requested to be forgotten.
falseExample: trueThe type of customer.
individualPossible values: A locale designator that combines the two-letter ISO 639-1 language code with the ISO 3166-1 alpha-2 country code.
en_USUsually used to disable the customer. The default is true. If false, attempts to create orders for the customer will fail.
trueHas the value true if the object exists in live mode or the value false if the object exists in test mode.
falseTime at which the customer was last updated.
2018-04-25T20:36:00Z400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
Permanently deletes a customer by supplying the unique identifier of the customer
Customer ID
204 No Content
400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
No content
Attaches a source to a customer
Customer ID
Source ID
200 OK
Unique identifier for the source.
a6809a63-e6a9-4016-abbc-f33d19fccb5bUsed for client-side retrieval using a public key.
52199c06-b261-4786-8609-d0a84185a0d2_2b72614b-77f6-4801-bd48-8982e314fdd5Time when the source was created.
2018-04-25T20:36:00ZThe payment type of the source. The payment type will correspond to another element in the source response that contains detailed information specific to the type. For example, a type of creditCard indicates that there is an object in the response named creditCard.
creditCardPossible values: Three-letter ISO currency code.
USDAmount associated with the source. Once ready, the source will be charged this amount. Required for single_use sources.
1180.26If true, you can reuse this source, if false, only once.
trueThe authentication flow of the source.
standardPossible values: The status of the source, one of pending_funds, pending_redirect, requires_action, cancelled, chargeable, consumed or failed. You can only use chargeable sources to create a charge.
chargeablePossible values: Unique identifier of a customer.
5823594809Tracks the process of collecting a payment.
8cecaa32-f692-44cc-b103-4cf24dc93913Has the value true if the object exists in live mode or the value false if the object exists in test mode.
false400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
Detaches a source from a customer
Customer ID
Source ID
204 No Content
400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
No content
Attaches a tax identifier to a customer
Customer ID
Tax ID
200 OK
The identifier of the tax identifier.
5774321009The time when the tax identifier was created.
2018-04-25T20:36:00ZThe identifier of an existing customer.
5774321009Type of tax identifier.
deThe tax identifier.
DE123456789The verification state.
pendingPossible values: The registered name of the customer with this tax identifier.
.The registered address of the customer with this tax identifier.
.The time when the tax identifier was updated.
2018-04-25T20:36:00Z400 Bad Request
401 Unauthorized
403 Forbidden
401 Not Found
405 Method Not Allowed
406 Not Acceptable
408 Request Timeout
409 Conflict
429 Too Many Requests
500 Internal Server Error
502 Bad Gateway Error
503 Service Unavailable Error
504 Gateway Timeout Error
Last updated