Direct Checkout — Mode: Card Payment
Returns a payment redirect URL for card (Mastercard / Visa) or GoBiz payment methods.
When to Use
▾
Use this mode when:
- Integrating credit / debit card payments via the Hosted Checkout
- Adding GoBiz or Paydee payment options
How to Use
▾
Endpoint
POST
/v3/payment/online/checkoutStep 1: Create a Checkout
▾
Call Hosted Payment Checkout to obtain checkoutId.
Step 2: Request the Redirect URL
▾
POST with type: "URL" and the card / GoBiz method.
Step 3: Redirect the Customer
▾
Send the customer to the returned url to complete payment.
Request Parameters
▾
Checkout ID from the Hosted Payment Checkout response.
Checkout type. Set to "URL".
Payment method (e.g., MASTERCARD_MY, GOBIZ_MY).
GoBiz details
GoBiz payment type.
Response Parameters
▾
Response item
Checkout session type.
Payment URL.
"SUCCESS" if the request succeeded.
Error details
Error code.
Error message.
Debug message (sandbox only).