Payment Method
Payment Method represents the shopper's preferred payment instrument that intends to use for transactions e.g credit cards, digital wallet.
Payment Method Object
id
String
Payment Method ID generated by Coda
shopper_id
String
Shopper ID generated by Coda
type
String
Type of the payment method
Object
Payment Type Object and it will vary depending on specific payment type and Refers to the relevant Payment Object for more details
Base URL
Sandbox
https://api-tc.codapayments-staging.com
Production
https://api-tc.codapayments.com
Endpoints
POST {Base URL}/v1/payment-methods
GET {Base URL}/v1/payment-methods/{paymentmethod.id}Create Payment Method
POST /payment-methods
Response Payment Method Object
Retrieve Payment Method
GET /payment-methods/{paymentmethod.id}
Response Payment Method Object
Request Parameters
shopper_id
String
Yes
Shopper ID generated by Coda
Size must be between 20 and 32 Must match "[A-Za-z]+_[A-Za-z0-9]+
type
String
Yes
Type of the payment method. Available types: Refer to Payment Method
Size must be between 3 and 64 Must match "[a-zA-Z0-9_]+"
Last updated
Was this helpful?