curl --request POST \
--url https://mpgwpre.payallglobal.com/mp-gateway/api/mapi/v1/payments/open/api/paymentOrderPay \
--header 'Content-Type: application/json' \
--header 'signature: <api-key>' \
--data '
{
"charset": "utf-8",
"memberId": "2022000000008454",
"merchantId": "2022000000008454",
"requestTime": "2025-10-24T15:00:00.500+08:00",
"signType": "RSA",
"transType": "PAY",
"version": "2.0.0",
"data": {
"outTradeNo": "394916B2ADFD4D6CAD6CC624C88990D0",
"country": "ID",
"sourceAccount": "PHP",
"destinationCurrency": "PHP",
"trade": {
"amount": "100",
"currency": "IDR"
},
"payeeInfo": {
"paymentMethodType": "WALLET",
"accountInfo": {
"accountNo": "0812323233332",
"accountType": "",
"checkDigit": ""
},
"targetOrg": "DANA",
"payeeType": "PERSONAL",
"bankInfo": {
"bankCode": "",
"bankName": "",
"bankBranch": "",
"bankCity": "",
"corAccountNo": ""
},
"name": {
"firstName": "James",
"middleName": "Shri Williams",
"lastName": "Kanta",
"fullName": "James Shri Williams Kanta"
},
"document": {
"documentType": "",
"documentId": "",
"documentIssueDate": "",
"documentExpireDate": ""
},
"address": {
"address": "",
"city": "",
"state": "",
"zipCode": ""
},
"payeePhone": "08123456789",
"birthDate": "1996-09-01",
"email": "[email protected]"
},
"chargeOption": "",
"clearingRail": "LOCAL",
"userId": "abc123456789",
"payerInfo": {
"subMerchantNo": "",
"businessLegalName": "",
"registrationCountry": "",
"merchantCategoryCode": "",
"payerId": "",
"name": {
"firstName": "James",
"middleName": "Shri Williams",
"lastName": "Kanta",
"fullName": "James Shri Williams Kanta"
}
},
"expiryDays": "3",
"remark": "this is remark",
"reference": "this is reference",
"notifyUrl": "http://example.com/callback/",
"notifyEmail": "[email protected]",
"notifyPhone": "",
"purpose": "GAME"
}
}
'