PayNow
Learn about PayNow, a real time payment network popular in Singapore.
Features
Processing currencies | SGD |
---|---|
Settlement currencies | USD |
Minimum transaction amount | 1 SGD |
Maximum transaction amount | 5,000 SGD |
Refunds | ✅ |
Partial Refunds | ✅ |
Multiple partial refund | ✅ |
Chargeback | ❌ |
Payment flow
Integration Method
paynow
1.
2.
Direct API
How to integration
name
, country
and email
in payment_method_data.billing_details
.bank_transfer_uk
to the list of payment method types.{
"amount":1000,
"currency":"SGD",
"payment_method_data" : {
"type":"paynow",
"billing_details":{
"address": {
"country": "SG"
},
"name": "Tom Elis",
"email": "1231536GF41@Gmail.com"
}
},
"description": "product description",
"quantity": 2,
"return_url":"https://your.website"
}
{
"id": "pi_1686226704999120896",
"object": "payment_intent",
"created": 1690862750000,
"livemode": true,
"currency": "SGD",
"amount": 1000,
"status": "requires_action",
"description": "product description",
"quantity": 2,
"client_secret": "pi_1686226704999120896_secret_nz79AKtKGcxWr2gUxEsFXrM1",
"next_action": {
"type": "paynow_handle_redirect",
"paynow_handle_redirect": {
"url": "https://pay.tazapay.com/marketplace/paymentdetails/0Pq7kWaNrGrjxYiaqsfchBD3bR0K4obPc7W4EtdSmt6y9BHpRLFBYdPzUWx59sHR"
}
},
"payment_method_types": [
"paynow"
],
"confirmation_method": "automatic",
"return_url": "https://your.website",
"payment_method": "pm_1686226704869097472",
"capture_method": "automatic"
}
Checkout
Create a seesion
{
"cancel_url": "www.wooshpay.com",
"mode": "payment",
"success_url": "https://wooshpay.com/",
"payment_method_types":["paynow"],
"line_items": [
{
"price_data": {
"currency": "SGD",
"unit_amount": 10000000,
"nickname": "apple",
"product_data": {
"name": "apple"
},
"billing_scheme": "testscheme",
"lookup_key": "test_lookup_key"
},
"quantity": 1
}
]
}
{
"id": "cs_1686257953583136768",
"object": "checkout.session",
"created": 1690870200000,
"livemode": false,
"currency": "SGD",
"customer": "",
"mode": "payment",
"status": "open",
"url": "https://checkouttest.wooshpay.com/pay/cs_test_1686257953583136768?key=cGtfdGVzdF9OVEUyTlRjNU5ESXpNalUxTXpNME56ZzVNVE14T2pNemIxTTJhVVZrTmtOdmFsWlBSRTFuVFc1SVREaFljREUyT0RReE1Ua3lNamd6TVRR",
"cancel_url": "www.wooshpay.com",
"line_items": {
"object": "list",
"data": [
{
"id": "li_1686257953620885504",
"object": "item",
"currency": "SGD",
"description": "apple",
"price": {
"id": "price_1686257953633468416",
"object": "price",
"created": 1690870200000,
"livemode": false,
"active": false,
"currency": "SGD",
"nickname": "apple",
"product": {
"id": "prod_1686257953646051328",
"object": "product",
"created": 1690870200000,
"livemode": false,
"active": false,
"name": "apple",
"updated": 1690870200000
},
"type": "one_time",
"unit_amount": 10000000,
"billing_scheme": "per_unit",
"lookup_key": "test_lookup_key"
},
"quantity": 1,
"amount_subtotal": 10000000,
"amount_total": 10000000
}
]
},
"payment_intent": "pi_1686257953868349440",
"payment_method_types": [
"paynow"
],
"payment_status": "unpaid",
"success_url": "https://wooshpay.com/",
"amount_subtotal": 10000000,
"amount_total": 10000000,
"billing_address_collection": "auto",
"expires_at": 1690956599952,
"payment_link": "",
"client_secret": "pi_1686257953868349440_secret_BKuEOd8kJq0cxvZszocDlfjb"
}
Next step
Create a Webhook
Create a Refund
Modified at 2024-09-24 07:24:29