Example Use Cases
| Rooms Reservations |
| Rental Services |
| Pay-Per-Use Parking |
API Required
Example JSON Payload
Alan rents a hotel room that costs RM 200.00, with an additional security deposit of RM 100.00.- Create a reservation fee using the Purchases API
- getcheckout_urlfrom the response body to be used as a payment link
- getidfrom the response body to be used as a token
Note: Alan’s reservation fee must be paid in order for the token to be usable.
- Charge the funds using Capture Payment API
- If the full security deposit is to be charged, capture the total amount:
- If the security deposit is not being charged, capture only the room fee portion:
Note: Partial capture is possible as any remainder of uncharged funds will be released automatically
Skip Capture Parameter
When set to true, theskip_capture parameter authorizes the payment without capturing the funds, effectively holding the amount in the customer’s account without withdrawing it.
Testing Integration
It’s possible to test-drive all checkouts using a test Purchase. To test a successful payment, you can use the following card numbers:- 4444 3333 2222 1111 - non-3D Secure card
- 5555 5555 5555 4444 - 3D Secure card
- any cardholder name
- any expiry no earlier than the current month/year
- CVC = 123