{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses payment_methods API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "payment_methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the payment methods associated to the adyen gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/adyen_gateways/:adyenGatewayId/payment_methods",
            "params": [
              {
                "name": "adyenGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the adyen gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the axerve gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/axerve_gateways/:axerveGatewayId/payment_methods",
            "params": [
              {
                "name": "axerveGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the axerve gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the braintree gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/braintree_gateways/:braintreeGatewayId/payment_methods",
            "params": [
              {
                "name": "braintreeGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the braintree gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the checkout.com gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/checkout_com_gateways/:checkoutComGatewayId/payment_methods",
            "params": [
              {
                "name": "checkoutComGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the checkout.com gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment method associated to the customer payment source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/:customerPaymentSourceId/payment_method",
            "params": [
              {
                "name": "customerPaymentSourceId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment method associated to the customer payment source"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the external gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/external_gateways/:externalGatewayId/payment_methods",
            "params": [
              {
                "name": "externalGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the external gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the klarna gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/klarna_gateways/:klarnaGatewayId/payment_methods",
            "params": [
              {
                "name": "klarnaGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the klarna gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the manual gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/manual_gateways/:manualGatewayId/payment_methods",
            "params": [
              {
                "name": "manualGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the manual gateway"
        },
        {
          "info": {
            "name": "Retrieve the default payment method associated to the market",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId/default_payment_method",
            "params": [
              {
                "name": "marketId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the default payment method associated to the market"
        },
        {
          "info": {
            "name": "Retrieve the default payment method associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/default_payment_method",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the default payment method associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the available payment methods associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/available_payment_methods",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the available payment methods associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the payment method associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/payment_method",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment method associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the payment gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_gateways/:paymentGatewayId/payment_methods",
            "params": [
              {
                "name": "paymentGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the payment gateway"
        },
        {
          "info": {
            "name": "List all payment methods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods"
          },
          "docs": "List all payment methods"
        },
        {
          "info": {
            "name": "Create a payment method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a payment method"
        },
        {
          "info": {
            "name": "Retrieve a payment method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods/:paymentMethodId",
            "params": [
              {
                "name": "paymentMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a payment method"
        },
        {
          "info": {
            "name": "Update a payment method",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods/:paymentMethodId",
            "params": [
              {
                "name": "paymentMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a payment method"
        },
        {
          "info": {
            "name": "Delete a payment method",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods/:paymentMethodId",
            "params": [
              {
                "name": "paymentMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a payment method"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the paypal gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/paypal_gateways/:paypalGatewayId/payment_methods",
            "params": [
              {
                "name": "paypalGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the paypal gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the satispay gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/satispay_gateways/:satispayGatewayId/payment_methods",
            "params": [
              {
                "name": "satispayGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the satispay gateway"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stores/:storeId/payment_methods",
            "params": [
              {
                "name": "storeId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the store"
        },
        {
          "info": {
            "name": "Retrieve the payment methods associated to the stripe gateway",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stripe_gateways/:stripeGatewayId/payment_methods",
            "params": [
              {
                "name": "stripeGatewayId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the payment methods associated to the stripe gateway"
        }
      ]
    }
  ],
  "bundled": true
}