{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses customer_payment_sources API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "customer_payment_sources", "type": "folder" }, "items": [ { "info": { "name": "List all customer payment sources", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources" }, "docs": "List all customer payment sources" }, { "info": { "name": "Create a customer payment source", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources", "body": { "type": "json", "data": "{}" } }, "docs": "Create a customer payment source" }, { "info": { "name": "Retrieve a customer payment source", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/:customerPaymentSourceId", "params": [ { "name": "customerPaymentSourceId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a customer payment source" }, { "info": { "name": "Update a customer payment source", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/:customerPaymentSourceId", "params": [ { "name": "customerPaymentSourceId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a customer payment source" }, { "info": { "name": "Delete a customer payment source", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/:customerPaymentSourceId", "params": [ { "name": "customerPaymentSourceId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete a customer payment source" }, { "info": { "name": "Retrieve the customer payment sources associated to the customer", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/customer_payment_sources", "params": [ { "name": "customerId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the customer payment sources associated to the customer" }, { "info": { "name": "Retrieve the wallet associated to the external payment", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/external_payments/:externalPaymentId/wallet", "params": [ { "name": "externalPaymentId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the wallet associated to the external payment" }, { "info": { "name": "Retrieve the customer payment source associated to the order subscription", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId/customer_payment_source", "params": [ { "name": "orderSubscriptionId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the customer payment source associated to the order subscription" }, { "info": { "name": "Retrieve the available customer payment sources associated to the order", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/available_customer_payment_sources", "params": [ { "name": "orderId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the available customer payment sources associated to the order" } ] } ], "bundled": true }