ຂໍ້ມູນອ້າງອີງ Provider
ອ້າງອີງຜູ້ໃຫ້ບໍລິການ 2C2P
ສະຫຼຸບຂໍ້ມູນ 2C2P ເປັນແຜນຕົວປັບເຊື່ອມຂອງ WQN Gateway: ວິທີຊຳລະ, ຕະຫຼາດ, ຂັ້ນຕອນໂທເຄນ, ການແຈ້ງເຕືອນ, ການຄືນເງິນ ແລະການຄວບຄຸມຝ່າຍປະຕິບັດການ.
REST API
Webhook ມີລາຍເຊັນ
ໜ້າຊຳລະ Hosted
01ເລີ່ມຈາກ Sandboxທົດສອບຜົນກ່ອນ live onboarding
02ເຫດການປອດໄພHMAC signatures ແລະ replay protection
03ປະຕິບັດການຊັດເຈນທຸລະກຳ, ລາຍງານ ແລະຊຳລະຍອດເຫັນຊັດ
04ສົ່ງຕໍ່ພາກພື້ນຈັດການການຊຳລະທີ່ພ້ອມ provider
Solutions ທີ່ map ເຂົ້າ WQN
ແຜນ provider
ຮັບຊຳລະ
ວາງແຜນເຊື່ອມ card schemes, digital wallets, QR payments, bank channels, BNPL, IPP ແລະວິທີອື່ນໃນ integration ດຽວ.
ຈ່າຍເງິນອອກ
ແນວຄິດ payout ແລະ fund movement ສຳລັບ merchant settlement, disbursement ແລະ reconciliation.
ສາຍການບິນ ແລະທ່ອງທ່ຽວ
ການດຳເນີນງານຊຳລະແບບສະເພາະສຳລັບ travel use cases, ຫຼາຍຊ່ອງທາງ ແລະ agency integrations.
Social commerce
Payment links, invoices, checkout ຜ່ານ social channel, ລາຍງານກາງ ແລະການຈັບຄູ່ invoice.
Issuing
ແນວຄິດບັດ, wallet ແລະ loyalty program ສຳລັບການຂະຫຍາຍຫຼັງຈາກການຮັບຊຳລະ.
ໝາຍເຫດຕະຫຼາດພາກພື້ນ
SEA- IndonesiaDigital payments ເປັນສ່ວນຫຼັກຂອງ ecommerce; QRIS, mobile wallets, cards ແລະ BNPL ຄວນຢູ່ໃນແຜນ checkout.
- ThailandQR ຮູບແບບ PromptPay, mobile wallets, domestic payments, IPP ແລະ multi-currency pricing ເປັນຕົວເລືອກ checkout ສຳຄັນ.
- SEA coreIndonesia, Malaysia, Philippines, Singapore, Thailand ແລະ Vietnam ຄວນຖືກກຳນົດເປັນ primary market presets.
ແຜນຄອບຄຸມວິທີຊຳລະ
Cards · QR · Wallet · BNPL| ປະເພດ | ຕົວຢ່າງ | ການນຳໃຊ້ໃນ WQN |
|---|---|---|
| ບັດ | Visa, Mastercard, AMEX, JCB, UnionPay, Discover ແລະບັດທ້ອງຖິ່ນ | ໜ້າຊຳລະ Hosted ຫຼື provider tokenization ໂດຍກົງ |
| ຊຳລະຜ່ານ QR | Online QR, offline QR, ຮູບແບບ regional QR ເຊັ່ນ PromptPay | QR payment session ພ້ອມ expiry ແລະ callback |
| Wallets | Digital wallet rails ແລະ local wallet options ຕາມຕະຫຼາດ | Wallet redirect, deep link ຫຼື SDK flow |
| ທະນາຄານ ແລະ direct debit | Internet banking, online direct debit ແລະ virtual account concepts | Redirect/direct bank flow ພ້ອມສອບຖາມສະຖານະ |
| BNPL ແລະ IPP | Buy now pay later ແລະ installment plans ຜ່ານທະນາຄານ/ໂຄງຂ່າຍທີ່ຮອງຮັບ | ຕົວເລືອກ installment ພ້ອມສະແດງ risk/fee disclosure |
| Counter ແລະ offline | ຈ່າຍທີ່ເຄົາເຕີ ແລະຈຸດຊຳລະທີ່ຊ່ວຍຮັບເງິນສົດ | Voucher/reference number ພ້ອມວັນໝົດອາຍຸ |
ຂັ້ນຕອນການເຊື່ອມຕໍ່
ເລີ່ມຈາກ Token- 1ສ້າງ WQN payment intentMerchant ສົ່ງ amount, currency, order reference, return URL ແລະ idempotency key ເຂົ້າ WQN.
- 2ຂໍ provider payment tokenWQN adapter ສ້າງ payment token ຮູບແບບ 2C2P ກ່ອນ redirect, direct ຫຼື SDK payment.
- 3ໂຫຼດຕົວເລືອກຊຳລະAdapter ດຶງ channel categories ແລະ payment option details ຕາມຕະຫຼາດ ແລະ currency ຂອງລູກຄ້າ.
- 4ດຳເນີນການຊຳລະລູກຄ້າຊຳລະຜ່ານ card, wallet, QR, bank, BNPL, counter ຫຼື direct-debit flow.
- 5Normalize notificationProvider notification ຖືກກວດ, decrypt ເມື່ອຈຳເປັນ, map ເປັນ WQN payment events ແລະສົ່ງໄປ merchant webhook.
- 6ສະຖານະ, refund, cancelຝ່າຍຈັດການສາມາດສອບຖາມສະຖານະ, refund, cancel/void ແລະ reconciliation ຈາກ workflow ທີ່ປ້ອງກັນ.
Security ແລະ compliance
ກວດທານ- ໃຊ້ Hosted checkout ຫຼື provider tokenization ເພື່ອຫຼຸດ PCI scope; ຢ່າເກັບ raw PAN, CVV, PIN ຫຼື sensitive authentication data.
- ຮອງຮັບ 3DS ເມື່ອມີສຳລັບ card-not-present flows ແລະສະແດງ 3DS outcome ໃນ payment timeline.
- ກວດ provider signatures/encryption ກ່ອນອັບເດດສະຖານະການຊຳລະ; ໃຊ້ JWE/JWS-compatible processing ເມື່ອ provider API ກຳນົດ.
- ລົງລາຍເຊັນ WQN merchant webhooks ດ້ວຍ HMAC SHA-256, timestamp tolerance, replay protection ແລະ request IDs.
- ເກັບ provider credentials ໃນ vault reference ແລະຕ້ອງອະນຸມັດກ່ອນເປີດ production routing.
Provider API mapping
Adapter blueprint| 2C2P concept | WQN endpoint/module | ຈຸດປະສົງ |
|---|---|---|
| Payment Token | /v1/providers/2c2p/payment-token | ສ້າງ provider session token ກ່ອນ checkout, redirect, direct API ຫຼື SDK flow. |
| Payment Option / Option Detail | /v1/provider-routes/2c2p/options | ສະແດງ payment methods, channel codes, currencies, 3DS/refund support ແລະ customer locale options. |
| Do Payment / Proceed Transaction | /v1/payments/{id}/attempts | ສົ່ງລາຍລະອຽດວິທີຊຳລະທີ່ເລືອກ ແລະສ້າງ normalized payment attempt. |
| Payment Notification | /v1/providers/2c2p/webhook | ຮັບຜົນຈາກ provider ແລະ publish WQN events ເຊັ່ນ payment.succeeded ຫຼື payment.failed. |
| Transaction Status | /v1/payments/{id}/sync | ສອບຖາມ ແລະກະທົບສະຖານະເມື່ອ redirect ຫຼື webhook ຊ້າ. |
| Refund / Cancel / Void | /v1/refunds and /v1/payments/{id}/cancel | ຈັດການ refund ເຕັມ/ບາງສ່ວນ, ຍົກເລີກ pending transaction ແລະຫຼັກຖານຝ່າຍຈັດການ. |
WQN checkout request
curl https://gateway.wqnwqn.com/v1/checkout/sessions \
-H "Authorization: Bearer sk_sandbox_xxx" \
-H "Idempotency-Key: order_20260709_2c2p" \
-H "Content-Type: application/json" \
-d '{
"amount": 125000,
"currency": "THB",
"provider_preference": "2c2p",
"payment_methods": ["card", "qr", "wallet", "bnpl", "counter"],
"return_url": "https://merchant.example.com/return",
"notify_url": "https://merchant.example.com/webhooks/wqn"
}'
Normalized webhook
{
"id": "evt_2c2p_01J2",
"type": "payment.succeeded",
"provider": "2c2p",
"payment_id": "pay_9A41K2",
"provider_reference": "2c2p_txn_...",
"amount": 125000,
"currency": "THB",
"signature": "sha256=..."
}
ລິ້ງແຫຼ່ງຂໍ້ມູນທາງການ
ເອກະສານ public- ໜ້າຫຼັກ 2C2Phttps://2c2p.com/
- ວິທີຊຳລະຂອງ 2C2Phttps://2c2p.com/payment-methods/
- ຄູ່ມືນັກພັດທະນາ 2C2Phttps://developer.2c2p.com/docs/general