Create a customer in the API key environment
api-keyx-api-key<token>Your API key: ck_test_... for test mode, ck_live_... for live. Send it with x-api-secret (or Authorization: Bearer ).
x-api-secret?stringRecommended: API secret sent over HTTPS. You may send it as Authorization: Bearer instead. If supplied, x-timestamp and x-signature are not required.
x-timestamp?stringLegacy signed mode: Unix time in milliseconds; maximum clock skew five minutes.
x-signature?stringLegacy signed mode: HMAC-SHA256(secret, timestamp.METHOD.url.idempotencyKey.bodyHash).
x-idempotency-key*string1–128 letters/digits or ._:-. Same key and payload replay for 24 hours; conflicting, in-flight, or expired keys return 409. Never change a key to retry an uncertain payment.
application/json- body
firstName*stringlength <= 80lastName*stringlength <= 80email*stringemailphoneNumber?|nullbillingAddressLine1?|length <= 255billingAddressLine2?|length <= 255billingCity?|length <= 120billingState?|length <= 120billingPostalCode?|length <= 32billingCountryCode?|nullapplication/json- response
id*stringcustomerId*stringfirstName*stringlastName*stringname*stringemail*stringemailphoneNumber*|nullstatus*string"ACTIVE""DISABLED"environment*string"SANDBOX""LIVE"billingAddress*disabledAt*|date-timecreatedAt*stringdate-timeupdatedAt*stringdate-timecurl -X POST 'https://api.creddot.com/api/v1/customers' \ -H 'x-idempotency-key: string' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "Akanji", "lastName": "Joseph", "email": "akanji@example.com"}'{ "id": "string", "customerId": "string", "firstName": "string", "lastName": "string", "name": "string", "email": "user@example.com", "phoneNumber": {}, "status": "ACTIVE", "environment": "SANDBOX", "billingAddress": {}, "disabledAt": {}, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Initialize a server-side collection POST
Requires collections:create. Supports bank transfer, USSD, and QR without accepting raw card data. Use POST /v1/checkout/sessions for card-capable hosted checkout. Atomically records a pending transaction before provider initialization. Retry with the same key and body to replay the initial response.
Enable or disable a customer PUT
Next Page