TrueMoney
Features
Processing currencies | THB,GBP |
---|---|
Settlement currencies | GBP |
Minimum transaction amount | 0.01 THB |
Maximum transaction amount | 7,000 THB |
Refunds | ✅ |
Partial Refunds | ✅ |
Multiple partial refund | ❌ |
Chargeback | ❌ |
Integration Method
truemoney
1.
2.
Direct API
How to integration
truemoney
to the list of payment method types.{
"amount": 2000,
"currency": "THB",
"confirm": true,
"payment_method_options": {
"truemoney": {
"terminal_type": "WEB",
"os_type": "ANDROID"
}
},
"payment_method_types": ["truemoney"],
"return_url": "https://wooshpay.com"
}
{
"id": "pi_1663020464626204672",
"object": "payment_intent",
"created": 1685329951000,
"currency": "THB",
"amount": 1000,
"status": "requires_action",
"livemode": false,
"quantity": 2,
"client_secret": "pi_1663020464626204672_secret_KbWwv9WBTBMVMrYZOJh3A7UH",
"next_action": {
"type": "promptpay_handle_redirect",
"promptpay_handle_redirect": {
"url": "https://apitest.wooshpay.com/v1/receives/ipay88/pay/pi_1663020464626204672"
}
},
"payment_method_types": [
"promptpay"
],
"confirmation_method": "automatic",
"return_url": "https://your.website",
"payment_method": "pm_1663020464512958464",
"capture_method": "automatic"
}
Checkout
Payment flow
1.
2.
Create a Session
{
"cancel_url": "www.wooshpay.com",
"mode": "payment",
"success_url": "https://wooshpay.com/",
"payment_method_types": ["truemoney"],
"line_items": [
{
"price_data": {
"currency": "THB",
"unit_amount": 2000,
"product_data": {
"name": "apple"
},
"billing_scheme": "testscheme",
"lookup_key": "test_lookup_key"
},
"quantity": 1
}
]
}
{
"id": "cs_1680921737639755776",
"object": "checkout.session",
"created": 1689597947000,
"livemode": false,
"currency": "THB",
"customer": "",
"mode": "payment",
"status": "open",
"url": "https://checkouttest.wooshpay.com/pay/cs_test_1680921737639755776?key=pk_test_NTE2Njg1MDgwNDUzOTY4MDc2ODAxOm9Oa3pjN043U2dYWE84VVhGZmF4cThvTTE2ODY2MzgyOTYzMjU",
"cancel_url": "www.wooshpay.com",
"line_items": {
"object": "list",
"data": [
{
"id": "li_1680921737673310208",
"object": "item",
"currency": "THB",
"description": "apple",
"price": {
"id": "price_1680921737681698816",
"object": "price",
"created": 1689597947000,
"livemode": false,
"active": false,
"currency": "THB",
"product": {
"id": "prod_1680921737694281728",
"object": "product",
"created": 1689597947000,
"livemode": false,
"active": false,
"name": "apple",
"updated": 1689597947000
},
"type": "one_time",
"unit_amount": 2000,
"billing_scheme": "per_unit",
"lookup_key": "test_lookup_key"
},
"quantity": 1,
"amount_subtotal": 2000,
"amount_total": 2000
}
]
},
"payment_intent": "pi_1680921737866248192",
"payment_method_types": [
"truemoney"
],
"payment_status": "unpaid",
"success_url": "https://wooshpay.com/",
"amount_subtotal": 2000,
"amount_total": 2000,
"billing_address_collection": "auto",
"expires_at": 1689684346928,
"payment_link": "",
"client_secret": "pi_1680921737866248192_secret_bKslLOpffohD4ni828W4Ilpu"
}
Next step
Create a Webhook
Create a Refund
Modified at 2024-07-15 07:14:36