{ "opencollection": "1.0.0", "info": { "name": "BigCommerce Abandoned Cart Emails Payments API", "version": "3.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-Auth-Token", "value": "{{X-Auth-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Payments", "type": "folder" }, "items": [ { "info": { "name": "BigCommerce Get Accepted Payment Methods", "type": "http" }, "http": { "method": "GET", "url": "https://api.bigcommerce.com/stores/{store_hash}/v3/payments/methods", "headers": [ { "name": "Accept", "value": "" } ], "params": [ { "name": "order_id", "value": "", "type": "query", "description": "Identifier for the order" }, { "name": "checkout_id", "value": "", "type": "query", "description": "Identifier for the checkout (same as the cart ID)" } ] }, "docs": "Returns a list of accepted payment methods based on the `order_id` or `checkout_id`.\n\n**Notes**\n* Use the [Create an Order](/docs/rest-management/orders#create-an-order) endpoint to generate the `order_id`.\n* Orders created will be set to incomplete order status.\n* The cart ID and checkout ID are the same.\n\n**Required Fields**\n* `order_id` or `checkout_id`" }, { "info": { "name": "BigCommerce Create Payment Access Token", "type": "http" }, "http": { "method": "POST", "url": "https://api.bigcommerce.com/stores/{store_hash}/v3/payments/access_tokens", "headers": [ { "name": "Accept", "value": "" }, { "name": "Content-Type", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Use this endpoint to create a payment access token. A payment access token is required to process payments with the BigCommerce API.\n\nYou can also generate a payment access token during checkout by using the `completeCheckout` mutation in the [GraphQL Storefront API](/docs/storefront/cart-checkout/guide/graphql-storefront#handling-payments).\n\nAfter the token is created, use the token to [Process a payment](/docs/rest-payments/processing#process-payment).\n\n**Required Fields**\n* order_id" } ] } ], "bundled": true }