Body
The identifier of the merchant that this customer will be associated with. This merchant must already exist in the system.
"67e55044-10b1-426f-9247-bb680e5fe0c8"
(Optional) The list of grant permissions that define what operations this access token is authorized to perform. If no scopes are provided, the default scopes will be used.
Default scopes include:
UpdateMerchants
, GetMerchants
, CreateCustomers
, CreatePayins
, GetPayins
, GetCustomers
, CreatePaymentMethods
, GetPaymentMethods
, DeletePaymentMethods
, UpdatePaymentMethods
Valid values: GetMerchants
, CreateCustomers
, CreatePayins
, GetPayins
, GetCustomers
, CreatePaymentMethods
, GetPaymentMethods
, DeletePaymentMethods
, UpdatePaymentMethods
["CreateCustomer", "GetPayins"]
(Optional) An external customer reference ID used to tie this customer to a customer in an external system.
"myCustomer"
(Optional) The identifier of the customer that this access token is authorized to perform actions for.
"cus_1234abcd"
(Optional) The expiration time of the token in seconds. If no expiration time is provided, the default expiration of 24 hours (86,400 seconds) will be used
3600
Response
Ok
The unique identifier that represents the customer
"1234567890abcdef"
The external customer reference ID used to tie this customer to a customer in an external system.
"1234567890abcdef"
The identifier of the customer that this access token is authorized to perform actions for.
"cus_1234abcd"
The payment methods configured for this customer to make payments with.