2C2P

2C2P is a Singapore-headquartered payments platform serving merchants across Southeast Asia and beyond. Its Payment Gateway (PGW) API - currently Payment v4.3 - lets merchants accept cards, e-wallets, QR, installments, and alternative payment methods via a server-to-server REST interface where every request and response body is a JWT (JWS) signed with the merchant's secret key. The platform covers hosted-page and Secure Fields (direct) card capture, tokenization and recurring payments, transaction inquiry and status, void/cancel and refund maintenance, currency exchange, and backend (server-to-server) payment notifications. 2C2P is part of Ant International.

8 APIs 0 Features
PaymentsPayment GatewaySoutheast AsiaSingaporeThailandCardsE-WalletPayment TokenCross-BorderFintech

APIs

2C2P Payment Token API

Server-to-server POST that initializes a payment and returns a paymentToken plus a webPaymentUrl for the hosted payment page. Request and response bodies are JWTs signed with th...

2C2P Do Payment API

Executes a payment against a paymentToken, selecting the channel (card, e-wallet, QR, installment, pay-later, loyalty) via the payment code and supplying card, customer, browser...

2C2P Payment Option API

Returns the payment options and channel details available for a given paymentToken - the payment methods, groupings, and per-channel metadata used to render a custom checkout. I...

2C2P Payment Inquiry API

Retrieves the full result of a transaction by merchantID and invoiceNo (or paymentToken via transactionStatus), returning amount, status, approval and reference codes, masked ac...

2C2P Payment Maintenance API

Post-authorization maintenance - void/cancel a transaction via cancelTransaction, plus refund and settle operations covered by the payment maintenance guides. JWT request and re...

2C2P Card Token & Recurring API

Card tokenization and stored-credential operations - cardTokenInfo for saved card tokens and cardInstallmentPlanInfo for installment plans - together with the recurring payment ...

2C2P Exchange Rate API

Retrieves currency exchange rates for a transaction, supporting dynamic currency conversion (DCC) and alternative-payment-method MCC exchange rates. JWT request and response, wi...

2C2P Secure Fields

Browser-side card capture that loads 2C2P-hosted input elements into the merchant's own checkout page, returning an encryptedCardInfo / securePayToken that is passed to the Do P...

Collections

Pricing Plans

2C2P Plans Pricing

3 plans

PLANS

Rate Limits

2C2P Rate Limits

3 limits

RATE LIMITS

FinOps

2C2P Finops

FINOPS

Resources

🔗
AgenticAccess
AgenticAccess
🔗
DomainSecurity
DomainSecurity
🔑
Authentication
Authentication
🔗
LinkedIn
LinkedIn
🔗
Website
Website
🔗
Documentation
Documentation
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: 2C2P Payment Gateway API (PGW v4.3)
  version: '4.3'
items:
- info:
    name: Payment Token
    type: folder
  items:
  - info:
      name: Create a payment token
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/paymentToken
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"invoiceNo\": \"INV0001\",\n  \"description\": \"Order INV0001\",\n  \"amount\"\
          : 100.00,\n  \"currencyCode\": \"SGD\",\n  \"frontendReturnUrl\": \"https://merchant.example/return\",\n  \"backendReturnUrl\"\
          : \"https://merchant.example/notify\"\n}"
    docs: Initializes a payment and returns paymentToken + webPaymentUrl. Encode this JSON as a JWT (HS256, merchant secret
      key) before sending; decode the JWT response.
- info:
    name: Do Payment
    type: folder
  items:
  - info:
      name: Do payment
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/payment
      body:
        type: json
        data: "{\n  \"paymentToken\": \"<paymentToken>\",\n  \"payment\": {\n    \"code\": { \"channelCode\": \"CC\" },\n\
          \    \"data\": { \"securePayToken\": \"<encryptedCardInfo>\" }\n  },\n  \"clientIP\": \"1.2.3.4\",\n  \"responseReturnUrl\"\
          : \"https://merchant.example/return\"\n}"
    docs: Executes a payment against a paymentToken. For cards, data carries a Secure Fields securePayToken.
- info:
    name: Payment Option
    type: folder
  items:
  - info:
      name: Get payment options
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/paymentOption
      body:
        type: json
        data: "{\n  \"paymentToken\": \"<paymentToken>\",\n  \"locale\": \"en\"\n}"
    docs: Returns the payment options / channels available for a paymentToken.
  - info:
      name: Get payment option details
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/paymentOptionDetails
      body:
        type: json
        data: "{\n  \"paymentToken\": \"<paymentToken>\",\n  \"locale\": \"en\"\n}"
    docs: Returns detailed metadata for a specific payment option / channel.
- info:
    name: Inquiry
    type: folder
  items:
  - info:
      name: Payment inquiry
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/paymentInquiry
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"invoiceNo\": \"INV0001\",\n  \"locale\": \"en\"\n}"
    docs: Retrieves the full transaction result by merchantID + invoiceNo.
  - info:
      name: Transaction status
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/transactionStatus
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"paymentToken\": \"<paymentToken>\",\n  \"locale\": \"en\"\n}"
    docs: Returns the current status of a transaction.
- info:
    name: Maintenance
    type: folder
  items:
  - info:
      name: Cancel / void transaction
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/cancelTransaction
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"invoiceNo\": \"INV0001\"\n}"
    docs: Voids or cancels a transaction. Refund and settle are covered by the payment maintenance guides.
- info:
    name: Tokens
    type: folder
  items:
  - info:
      name: Card token info
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/cardTokenInfo
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"cardToken\": \"<cardToken>\",\n  \"locale\": \"en\"\n}"
    docs: Retrieves information about a stored card token for recurring / returning-buyer use.
  - info:
      name: Card installment plan info
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/cardInstallmentPlanInfo
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"invoiceNo\": \"INV0001\",\n  \"locale\": \"en\"\n}"
    docs: Returns the available installment plans for a card / merchant.
- info:
    name: Exchange Rate
    type: folder
  items:
  - info:
      name: Exchange rate
      type: http
    http:
      method: POST
      url: https://sandbox-pgw.2c2p.com/payment/4.3/exchangeRate
      body:
        type: json
        data: "{\n  \"merchantID\": \"\",\n  \"invoiceNo\": \"INV0001\",\n  \"amount\": 100.00,\n  \"currencyCode\": \"USD\"\
          \n}"
    docs: Retrieves currency exchange rates for a transaction (DCC / cross-border).
bundled: true