# Create Customer Payment Method Create a payment method for a given customer Endpoint: POST /v1/merchants/{merchant_id}/customers/{customer_id}/payment_methods Version: v1 Security: account-secret ## Path parameters: - `merchant_id` (string, required) Unique identifier for the merchant Example: "merchant_01j8emz8chfxbb2bqmtref8ch7" - `customer_id` (string, required) Unique identifier for the customer Example: "cust_02c7t70ef3ig396idugupsr99j" ## Request fields (application/json): - `description` (string, required) Description of the payment method Example: "Test customer" - `token` (string, required) Token for the payment method Example: "fxbb2bqmtref8ch7" ## Response 200 fields (application/json): - `id` (string, required) Unique identifier for the created payment method Example: "payment_method_04c7h77rf3ig386ilngopty49z" - `customer_id` (string, required) Unique identifier for the created customer Example: "cust_02c7t70ef3ig396idugupsr99j" - `payment_method` (string, required) Details of the payment method Enum: "CARD" - `created_at` (integer, required) Timestamp when the charge was created Example: 1727875117482 - `card` (object, required) Details of the card used for the payment method - `card.card_type` (string) Details of the card used for the payment method Example: "VISA" - `card.card_fingerprint` (string) Details of the card's fingerprint Example: "8411d8248f977bce15fba0f495474e4099j15bb9318fda8f0e700a4ad83b7836" - `card.card_funding` (string) Details of the card's funding Example: "debit" - `card.masked_number` (string) Masked card number Example: "400934******1881" - `card.expiration_date` (string) Expiration date of the card Example: "01/27"