Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

2C2P Payment Token API

Initialize a payment and obtain a paymentToken.

2C2P Payment Token API is one of 8 APIs that 2C2P publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Payment Token. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 4.3.

Requests are made against 2 base URLs: https://pgw.2c2p.com/payment/4.3, https://sandbox-pgw.2c2p.com/payment/4.3.

1 operations 1 paths 2 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
4.3
Base URL
https://pgw.2c2p.com/payment/4.3
Resource Areas
1

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Payment Token 1

Initialize a payment and obtain a paymentToken.

POST
/paymentToken
Create a payment token
paymentToken body → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are PaymentTokenRequest (13 properties), PaymentTokenResponse (4 properties). Each schema is shown below with its type and property counts.

PaymentTokenRequest
object
13 properties 5 required
PaymentTokenResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

2c2p-payment-token-api-openapi.yml Raw ↑

Other APIs 2C2P publishes across the network.

2C2P Secure Fields
2C2P Do Payment API
2C2P Exchange Rate API
2C2P Inquiry API
2C2P Maintenance API
2C2P Payment Option API
2C2P Tokens API