For the complete documentation index, see llms.txt. This page is also available as Markdown.

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

Parameter name
Type
Description

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

Version
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

Parameter Name
Type
Required
Description
Validation

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_]+"

Object

Object

Yes

Refer to Payment Method Details Chapter

Numeric not null

Last updated

Was this helpful?