Authorization: Bearer ********************{
"participantCode": "B0100007",
"amountToPay": 100.00,
"currencyToPay": "USD",
"paymentReference": "INV-12345",
"redirectUrl": "https://merchant.com/return",
"paymentLinkExpiry": "2025-12-31T23:59:59Z",
"paymentPurpose": {
"subject": "Invoice Payment",
"description": "Payment for services rendered",
"supportingDocuments": "doc123"
},
"payerInfo": 2,
"payerType": "INDIVIDUAL",
"individualInfo": {
"name": "John Doe",
"identityNumber": "S1234567A",
"dateOfBirth": "1980-01-01",
"residentialAddress": {
"street": "123 Main St",
"city": "Singapore",
"postalCode": "123456",
"country": "SG"
}
}
}curl --location --request POST '/payment/createPaymentRequest' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"participantCode": "B0100007",
"amountToPay": 100.00,
"currencyToPay": "USD",
"paymentReference": "INV-12345",
"redirectUrl": "https://merchant.com/return",
"paymentLinkExpiry": "2025-12-31T23:59:59Z",
"paymentPurpose": {
"subject": "Invoice Payment",
"description": "Payment for services rendered",
"supportingDocuments": "doc123"
},
"payerInfo": 2,
"payerType": "INDIVIDUAL",
"individualInfo": {
"name": "John Doe",
"identityNumber": "S1234567A",
"dateOfBirth": "1980-01-01",
"residentialAddress": {
"street": "123 Main St",
"city": "Singapore",
"postalCode": "123456",
"country": "SG"
}
}
}'{
"paymentId": "PAY123456789",
"paymentLinkExpiry": "2025-12-31T23:59:59Z",
"checkoutUrl": "https://checkout.mce.sg/PAY123456789",
"status": 1
}