This endpoint would allow you to create a milestone transaction via Pandascrow API.

[POST] {{baseurl}}/sandbox/index/transaction/milestone/new

Create Transaction - Milestone

To create a milestone 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
tasknameYesThe milestone is divided in name and amount. Note: the number of task name should be equal to the number of amount. Task name should be divided by commas (e.g iPhone, Android and KaIOS)String
amountYesThe milestone is divided in name and amount. Note: the number of task name should be equal to the number of amount. Task amount should be divided by commas (e.g 650000, 400000, 120000)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

API Object

{
    "status": 200,
    "data": {
        "paymentURL": "https://paywith.pandascrow.io/pay/k58l0F5qY",
        "message": "Successfully created a milestone transaction"
    }
}
curl -L -X POST '{{baseurl}}/sandbox/index/transaction/milestone/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!