Skip to content

SDK Playground

Prepare a checkout order or query reports. Choose your checkout environment carefully: Production uses real money; Staging uses test banks.

Prepare a payment order

Note: API Key is optional but recommended to sign and lock in the payment amount.

View the initial example payload
Array
(
    [agency] => SNAPNPAY
    [refNo] => test6af836a031587~881225-08-1234~12 
 Jalan Foo~#Sample RefNo
    [amount] => 2.00
    [email] => [email protected]
    [returnUrl] => https://developers.snapnpay.my/sdk/example/receipt.php?just=1&a=test
    [cancelUrl] => 
    [utm_source] => sdk
    [utm_medium] => dev
    [utm_campaign] => sdk_demo
    [utm_term] => tulus sdk
    [utm_content] => 
    [pref_method] => 
    [pref_bank] => 
    [extra_data] => 
)
Production - Live payments, real money
Staging - Test payments with FPX test banks, no real money
Unique identifier for this payment order. Can include extra data appended with ~
Amount in RM. Min: RM 2.00 for FPX B2B, RM 1.00 for FPX B2C (after charges)
Valid email address for receipt delivery
Your assigned agency code
Callback URL after payment completion
Optional. URL to redirect the user if they cancel at the Tulus checkout page before the request is submitted to the bank/FPX. Once the request has been sent onwards, cancellations/failures return via returnUrl instead.
Campaign tracking (optional)

Example tracking values are included with the order. Collapsing this section keeps its values.

e.g., instagram, facebook
e.g., email, cpc
e.g., spring_sale
e.g., pay zakat
e.g., logolink
Payment preferences and debug options

Any values entered here remain part of the order when this section is collapsed.

[ALPHA] e.g., fpx/b2b1
[ALPHA] e.g., ABB0235 for Affin Bank B2B
Internal debug use only

Query payment reports

Uses the reporting service with your authorized Auth Token. The checkout environment above does not switch this report endpoint.

Obtain from reports.tulus.my via "Copy AuthToken to Clipboard"
Agency code for report filtering

Review payment order

Continuing opens checkout. This does not confirm payment success. Check the payment status before retrying an uncertain payment.