has_one
payment_methods

Retrieve the default payment method associated to the market

Changed on

Retrieve the default payment method associated to the market

get/markets/{marketId}/default_payment_method

Request

  • Base URL
    https://{your_organization_slug}.commercelayer.io/api
  • URL
    https://{your_organization_slug}.commercelayer.io/api/markets/{marketId}/default_payment_method
  • Auth
    HTTP bearer

Path parameters

marketIdstring required

The resource's id

Response

The default_payment_method associated to the market

Changes