has_one
payment_methods

Retrieve the payment method associated to the order

Retrieve the payment method associated to the order

get/orders/{orderId}/payment_method

Request

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

Path parameters

orderIdstring required

The resource's id

Response

The payment_method associated to the order

Changes

No recorded changes to this operation across all 11 revisions of this API.