{
"originatorConversationId": "{{$guid}}",
"paymentNotes": "BuyGoodsTransfer",
"paymentOrderLines": [
{
"recipient": {
"name": "JOSEPH KIMANI",
"address": null,
"emailAddress": null,
"phoneNumber": null,
"idType": null,
"idNumber": null,
"financialInstitution": "Mobile",
"primaryAccountNumber": "254700836996", // Safaricom based phone number
"mccmnc": 63902,
"ccy": 404,
"country": "KE",
"purpose": "Disbursement",
"institutionIdentifier": "3674408" // Till Number
},
"transaction": {
"routeId": "d883e7e7-fc0e-f111-858d-062ab3a3eac8",
"channelType": 13,
"amount": 4500.0,
"reference": "{{$guid}}",
"systemTraceAuditNumber": "{{$guid}}",
"accountNo": "254700000356"
}
}
]
}
{
"originatorConversationId": "{{$guid}}",
"paymentNotes": "PaybillTransfer",
"paymentOrderLines": [
{
"recipient": {
"name": "JULIET JOY CHERUIYOT",
"address": null,
"emailAddress": null,
"phoneNumber": null,
"idType": null,
"idNumber": null,
"financialInstitution": "Coop",
"primaryAccountNumber": "4949", // Account number
"mccmnc": 63902,
"ccy": 404,
"country": "KE",
"purpose": "Disbursement",
"institutionIdentifier": "545500" // Paybill number
},
"transaction": {
"routeId": "F012CA13-D28F-F011-8575-062AB3A3EAC8",
"channelType": 14,
"amount": 3450.0,
"reference": "{{$guid}}",
"systemTraceAuditNumber": "{{$guid}}",
"accountNo": "4949" // Account number
}
}
]
}curl --location --request POST 'https://auth.zamupay.com/v1/payment-order/new-order' \
--header 'Authorization: Bearer <token>'{}