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
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
String
Shopper email address
status_code
String
Shopper status can be “active” or “inactive”
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
GET /shoppers/{shopper.id}
Response Shopper Object
Request Parameters
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]+"
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?