Post https://whitelabel.markets/demos/apex/api/v1/cashpayment/create
Authorization* string
Pass your {secret_key} as a bearer token in the request header to authorize this call
credit_wallet* string
Wallet ID of credit wallet
fixed_amount* boolean
If true, fixed amount is required and can't be changed at any retail cashier
multiuse* boolean
If true, upc slip can be used multiple times at any retail location
amount numeric
Required if fixed_amount is true
customer* array
first_name* string
Customer First Name
last_name* string
Customer Last Name
email* string
Customer Email Address
metadata* array
You can pass extra information here
{
"message": "UPC details",
"status": "success",
"data": {
"upc_account": "571435455252571291360027562088",
"multiuse": true,
"customer": {
"id": "duuisdgiughfusdg",
"first_name": "John",
"last_name": "Doe",
"email": "doe@remote.com"
},
"meta": null,
"mode": "test",
"payment": {
"currency": "USD",
"fixed_amount": false,
"minimum": 5,
"maximum": 300000
}
}
}