has_one
payment_methods

Retrieve the payment method associated to the customer payment source

Changed on

Retrieve the payment method associated to the customer payment source

get/customer_payment_sources/{customerPaymentSourceId}/payment_method

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/{customerPaymentSourceId}/payment_method
  • Auth
    HTTP bearer

Path parameters

customerPaymentSourceIdstring required

The resource's id

Response

The payment_method associated to the customer payment source

Changes