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 the merchant secret key (HMAC SHA-256). Carries invoiceNo, amount, currencyCode, description, and channel/tokenize options.
Documentation
Documentation
https://developer.2c2p.com/docs/api-payment-token
APIReference
https://developer.2c2p.com/reference/post_payment-4-3-paymenttoken
Specifications
Other Resources
PostmanCollection
https://raw.githubusercontent.com/api-evangelist/2c2p/refs/heads/main/collections/2c2p.postman_collection.json
OpenCollection
https://raw.githubusercontent.com/api-evangelist/2c2p/refs/heads/main/collections/2c2p.opencollection.json
APIsJSON
https://raw.githubusercontent.com/api-evangelist/2c2p/refs/heads/main/apis.yml