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 keys and values in the table below.

ParamRequired?Descriptiontype
userIDYesProvide userID assigned to users with Pandascrow accountInteger
businessIDYesProvide businessID assigned to users with Pandascrow accountInteger
customernameYesEnter Customer name only if phone number doesn't belong to registered Pandascrow user. (e.g John Doe)String
customerphoneYesEnter Customer phone number that belongs to registered Pandascrow user. (e.g +2348170000000)String
customeremailNoEnter Customer email address. (e.g [email protected])String
itemnameYesEnter Item name for transaction. (e.g iPhone 14 Pro)String
itemquantityYesEnter Item quantity. (note: only numbers no decimal e.g 0, 1, 2...)Integer
itemamountYesEnter Item amount. (note: it should be valid number no negative number or decimal like -1. e.g of amount 1000 or 1,000)String
currencyYesEnter only currency from the options provided (e.g NGN, USD, ZAR, GHS, and CAD)String
termsYesEnter a text (limited 500 words or less)String
is_escrowYesBoolean of 1 = Yes or 0 = NoInteger
is_buyerYesBoolean of 1 = Yes or 0 = NoInteger
deliverydateYesDelivery 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'
Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!