post http://api.pandascrow.io/sandbox/index/transaction/initiate
This endpoint would allow you to initiate a transaction on Pandascrow.
[POST] {{baseurl}}/sandbox/index/transaction/initiate
Initiate Transaction
To initiate a transaction via Pandascrow API, you'll need to pass all required details as documented in the table below.
Param | Required? | Description | type |
---|---|---|---|
customername | No | Enter Customer name only if phone number doesn't belong to registered Pandascrow user. (e.g John Doe) | String |
customeremail | No | Enter Customer email address only if email doesn't own a Pandascrow account. (e.g [email protected]) | String |
customergender | No | Enter Customer gender only if gender only if email doesn't own a Pandascrow account (e.g Male or Female) | String |
customerphone | Yes | Enter Customer phone only if phone number doesn't belong to registered Pandascrow user. (e.g +2348179000000) | String |
is_buyer | Yes | Specify for this transaction if initiator is a buyer (i.e responsible for making payment) or seller (i.e responsible for delivering product of service) with [buyer - 1 or seller - 0] | Boolean |
cycle | Yes | Choose what transaction type you want to initiate payment under (options: one-time, milestone, crowd-pay, mini-store, payme, custom) | String |
amount | Yes | Amount in Naira starts from 100. Amount in Dollars starts from 10. | Integer |
is_escrow | No | If this transaction should be bound by Escrow. It should be 1 = yes or 0 = no. | Boolean |
callback_url | No | Provide a URL that, on success it gets redirected to | String |
currency | Yes | Enter currency from our supported list of currency | String |
API Object
{
"status": 200,
"data": {
"status": true,
"message": "Transaction was successfully initiated",
"data": {
"authorization_url": "https://paywith.pandascrow.io/pay/xxxxxxxxx",
"access_code": "9jdsxxxxxx",
"reference": "g5lxxxxxx"
}
}
}
curl -L -X GET '{{baseurl}}/sandbox/index/user/fetch/single' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY' \
-H 'Appid: appid'