Endpoints
Last updated
Last updated
Expected inputs and sample responses for each endpoint can be found here.
All testing should be done on test mode only. Test mode base url: https://api-staging.pay.gov.sg
The paymentServiceID for your created payment service can be found as highlighted below. Please note that you will need to include the payment_service
prefix.
Method | Path | Purpose |
---|---|---|
GET |
| Fetches the payment with the given ID. |
GET |
| Lists the payments for the given payment service. |
POST |
| Creates a new payment. |
POST |
| Cancels the payment with the given ID. Only unpaid payments can be cancelled. |
POST |
| Emails the payment with the given ID to the payer through their email. |