v1
latestOpenAPI 3.0.02026-07-26167441.9 MBEnroll Payment Method
post/customers/{customer_id}/payment-methods
Path parameters
customer_idstring required
The unique identifier of the customer, created using the Create Customer endpoint (MAX 64; MIN 36).
Request body
Response
201
Example response
{
"idempotency_key": "2ca58c6d-8794-4c8f-a2f6-bba4b7498b74",
"name": "VISA ****1111",
"description": "VISA ****1111",
"type": "CARD",
"category": "CARD",
"country": "US",
"status": "ENROLLED",
"vaulted_token": "cbdcc878-ceb4-4dd8-b0f0-49d444855de0",
"callback_url": "www.example.com",
"parent_type": "CARD",
"created_at": "2024-06-06T13:32:49.715656Z",
"updated_at": "2024-06-06T13:32:49.715656Z",
"card_data": {
"iin": "41111111",
"lfd": "1111",
"holder_name": "JOHN DOE",
"expiration_month": 3,
"expiration_year": 26,
"number_length": 16,
"security_code_length": 3,
"brand": "VISA",
"issuer": "JPMORGAN CHASE BANK N A",
"country_code": "US",
"category": "CREDIT",
"type": "CREDIT",
"fingerprint": "55a7fe38-cdc3-45dc-8c5f-820751799c76"
}
}