QRIS
Features
Available country codes | ID |
---|---|
Processing currencies | IDR |
Settlement currencies | USD |
Minimum transaction amount | Following e-wallets regulation |
Maximum transaction amount | Following e-wallets regulation |
Refunds | ❌ |
Partial Refunds | ❌ |
Multiple partial refund | ❌ |
Chargeback | ❌ |
Integration Method
qris
1.
2.
Direct API
How to integration
qris
to the list of payment method types.{
"amount":100,
"currency":"IDR",
"confirm":true,
"payment_method_data" : {
"type":"qris"
},
"return_url":"https://your.website"
}
{
"id": "pi_1765928142586773504",
"object": "payment_intent",
"created": 1709865053000,
"livemode": false,
"currency": "IDR",
"amount": 100,
"status": "requires_action",
"client_secret": "pi_1765928142586773504_secret_O9SgiBtsm7kw7KaYmGtXvdBr",
"next_action": {
"type": "qris_handle_redirect",
"qris_handle_redirect": {
"url": "https://XXXXXXXXXX"
}
},
"payment_method_types": [
"qris"
],
"confirmation_method": "automatic",
"return_url": "https://your.website",
"payment_method": "pm_1765928142498693120",
"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": [
"qris"
],
"line_items": [
{
"price_data": {
"currency": "IDR",
"product": null,
"unit_amount": 2000,
"product_data": {
"name": "apple"
},
"billing_scheme": "testscheme",
"lookup_key": "test_lookup_key"
},
"quantity": 1
}
]
}
{
"id": "cs_1765929090289762304",
"object": "checkout.session",
"created": 1709865279000,
"livemode": false,
"currency": "IDR",
"customer": "",
"mode": "payment",
"status": "open",
"url": "https://checkouttest.wooshpay.com/pay/cs_test_1765929090289762304?key=cGtfdGVzdF9OVEUyTnpRek16SXpPREV5TlRJNE1UWTRPVFl4T2pFeVZXZGFSamhoU0dwcU9GWmhSRFp2YUZSeWMxUlpiekUyT0Rnd01qWTVNalU1TlRr",
"cancel_url": "www.wooshpay.com",
"line_items": {
"object": "list",
"data": [
{
"id": "li_1765929090390425600",
"object": "item",
"currency": "IDR",
"description": "apple",
"price": {
"id": "price_1765929090411397120",
"object": "price",
"created": 1709865279000,
"livemode": false,
"active": false,
"currency": "IDR",
"product": {
"id": "prod_1765929090457534464",
"object": "product",
"created": 1709865279000,
"livemode": false,
"active": false,
"name": "apple",
"updated": 1709865279000
},
"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_1765929095620722688",
"payment_method_types": [
"qris"
],
"payment_status": "unpaid",
"success_url": "https://wooshpay.com/",
"amount_subtotal": 2000,
"amount_total": 2000,
"billing_address_collection": "auto",
"expires_at": 1709951679160,
"payment_link": "",
"client_secret": "pi_1765929095620722688_secret_n58CnonKQM6SgpQU3YGrzCzf",
"customer_creation": "if_required"
}
Next step
Create a Webhook
Create a Refund
Modified at 2024-03-11 02:07:04