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

Shopper

This represents a customer who is making the purchase. The Shopper is represented by a unique Identifier (Shopper ID) generated to secure payment information.

Shopper Object

Parameter name
Type
Description

id

String

Shopper ID generated by Coda

partner_shopper_id

String

ID the partner will use to identify their customer and link the token ID

phone_number

String

Shopper phone number

email

String

Shopper email address

status_code

String

Shopper status can be “active” or “inactive”

Base URL

Version
Base URL

Sandbox

https://api-tc.codapayments-staging.com

Production

https://api-tc.codapayments.com

Endpoints

POST {Base URL}/v1/shoppers
GET {Base URL}/v1/shoppers/{shopper.id}

Create Shopper

POST /shoppers

Response Shopper Object

Retrieve Shopper

Retrieve a shopper by shopper id

GET /shoppers/{shopper.id}

Response Shopper Object

Request Parameters

Parameter name
Type
Required?
Description
Validation

partner_shopper_id

String

Yes

ID the partner will use to identify their customer and link the token ID

Size must be between 4 and 32

Must match "^[a-zA-Z0-9-_]+$"

phone_number

String

No

Customer phone number

Size must be between 12 and 16

Must match "\+[0-9]+"

email

String

No

Customer email address

Size must be between 4 and 128 Must match "^[^\\\"!#$%&'*+\\-/=?^_`{|]+[^\\\"]*[^\\\"!#$%&'*+\\-/=?^_`{|]+@[a-zA-Z0-9-]+([\\.][a-zA-Z0-9-]+){1,2}$"

Last updated

Was this helpful?