Create Customer
It isn't required for other payments API since the customer will be automatically created if not present
When successful, a HTTP 200 and JSON like this is returned:
{
"status_code": 0,
"body": {
"id": "cus_xxxxxxxxxxxxxx",
"object": "customer",
"account_balance": 0,
"created": 1549288732,
"currency": null,
"default_source": null,
"delinquent": false,
"email": "[email protected]",
"sources": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_xxxxxxxxxxxxxx/sources"
},
"subscriptions": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/customers/cus_xxxxxxxxxxxxxx/subscriptions"
}
}
}Last updated
Was this helpful?