CashToCode
This alternative payment method supports the following operations:
Payment
Request
Send a payment request with the following additional parameters:
Parameter | Type | Description |
---|---|---|
request | object | |
customer | object | A section of information about the customer. |
first_name * required |
string | The customer’s first name. |
last_name * required |
string | The customer’s last name. |
country * required |
string | The customer’s country in the ISO 3166-1 alpha-2 format. |
birth_date * required |
string | The customer’s date of birth in the ISO 8601 format (YYYY-MM-DD ). |
method | object | A section of the payment method information. |
type * required |
string | cash_to_code |
account * required |
string | The customer's identifier in your service. It should be unique for each user and remain unchanged in subsequent requests. |
customer_status | string | Send registered if the customer has already paid successfully via CashtoCode. |
channel * required |
string | The name of your web-app as it is registered in CashtoCode. |
Response
The cash_to_code
response section will have the parameters copied from the request.