post http://api.pandascrow.io/sandbox/index/transaction/onetime/new
This endpoint would allow you to create a onetime transaction via Pandascrow API.
[POST] {{baseurl}}/sandbox/index/transaction/onetime/new
Create Transaction - Onetime
To create a one-time transaction, you'll need to pass in the required parameters as listed in the table below.
Param | Required? | Description | type |
---|---|---|---|
customername | Yes | Enter Customer name only if phone number doesn't belong to registered Pandascrow user. (e.g John Doe) | String |
customerphone | Yes | Enter Customer phone number that belongs to registered Pandascrow user. (e.g +2348170000000) | String |
customeremail | No | Enter Customer email address. (e.g [email protected]) | String |
itemname | Yes | Enter Item name for transaction. (e.g iPhone 14 Pro) | String |
itemquantity | Yes | Enter Item quantity. (note: only numbers no decimal e.g 0, 1, 2...) | Integer |
itemamount | Yes | Enter Item amount. (note: it should be valid number no negative number or decimal like -1. e.g of amount 1000 or 1,000) | String |
currency | Yes | Enter only currency from the options provided (e.g NGN, USD, ZAR, GHS, and CAD) | String |
terms | Yes | Enter a text (limited 500 words or less) | String |
is_escrow | Yes | Boolean of 1 = Yes or 0 = No | Boolean |
is_buyer | Yes | Boolean of 1 = Yes or 0 = No | Boolean |
deliverydate | Yes | Delivery date of transaction. Date format: YYYY-MM-DD (e.g 2022-11-05) | String |
API Object
{
"status": 200,
"data": {
"paymentURL": "https://paywith.pandascrow.io/pay/k58l0F5qY",
"message": "Successfully created a onetime transaction"
}
}
curl -L -X POST '{{baseurl}}/sandbox/index/transaction/onetime/new' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'