openapi: 3.0.3 info: title: Edge API description: "Edge Payment Technologies offers payment solutions for merchants in diverse legal industries. To learn more about Edge's proposition see our [about](https://tryedge.io/about) page.\n\nBefore starting with the API, you must [create a merchant account](https://dashboard.tryedge.io/merchant_accounts/new) and obtain API keys from the [Developer tab](https://dashboard.tryedge.io/developers) in your account dashboard. You will use the “Publishable key” with Edge JavaScript SDK and the “Secret key” on your website.\n\nThe Edge API is based upon REST principles, returns JSON responses, and uses standard HTTP response codes. We speficially use the [JSON:API](https://jsonapi.org/) specification.\n\nIf you're wanting to use Edge Payment Technologies in the browser to make a charge you're going to need to include the Edge javascript SDK. The\_Edge JavaScript SDK is a toolkit for encrypting data in the browser. Using the Edge JavaScript SDK means your customer's data never leaves their browser unencrypted. Include this in your HTML:\n\n``` html\n\n```\n\nThen after that you need to initialize the client:\n\n``` javascript\nconst edge = new Edge('');\n\nedge.initializeForm().then(function (form) {\n // Form configuration\n});\n```\n" version: v1 termsOfService: https://d2v8xkxkqr8ydr.cloudfront.net/end-user-terms-of-service.pdf contact: name: Support url: https://www.tryedge.io/contact email: support@tryedge.io x-api-status-urls: - https://api.tryedge.io servers: - url: https://{apiHost} variables: apiHost: enum: - api.tryedge.io default: api.tryedge.io type: string tags: - description: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur varius ullamcorper sapien, id tempor eros efficitur at. Praesent suscipit cursus ipsum, at ultrices dui convallis a. Proin sit amet lectus libero. Etiam eu diam magna. Sed laoreet faucibus aliquet. Nam lobortis risus eget arcu pretium, at euismod justo bibendum. Fusce varius venenatis lectus a molestie. Vivamus lorem purus, egestas a consequat ut, dapibus et eros. Etiam porta ligula nec velit posuere iaculis. In molestie et massa et pulvinar. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Integer vel finibus lorem. Mauris nec dui eu quam varius lobortis. Cras tempor justo quis diam ultricies faucibus. Pellentesque tempus vulputate odio, eu sagittis lorem. Fusce sagittis dui in justo aliquet efficitur. Aliquam sed ex sed nulla imperdiet tempor at aliquet nibh. Proin mollis ante ut interdum elementum. Nam dignissim gravida accumsan. Curabitur consectetur pulvinar sem, vel pretium quam convallis sit amet. Ut lorem eros, malesuada id tempor ac, porttitor non quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed scelerisque, ipsum a pulvinar scelerisque, turpis tortor interdum mi, vel vestibulum nisl odio nec tellus. Sed eu metus vitae ex aliquet mattis non non orci. Vestibulum malesuada ac mauris in lobortis. Sed dapibus neque quis enim eleifend vehicula. Vivamus imperdiet dignissim velit quis varius. Morbi lectus lacus, auctor ac justo ut, ornare imperdiet turpis. Pellentesque sit amet arcu sit amet erat varius eleifend sit amet sed augue. Nunc sed nulla at nisi vestibulum tempor in sit amet odio. In elit turpis, pellentesque vel venenatis ac, sodales nec nibh. Cras laoreet tristique dui quis bibendum. Nullam condimentum turpis magna, quis laoreet purus placerat nec. Nulla facilisi. Proin elit justo, euismod et faucibus vel, volutpat id nulla. Quisque blandit ipsum non lorem aliquam pharetra. Integer pellentesque turpis sit amet ipsum tristique sagittis. Proin diam nulla, cursus non pharetra a, mattis a leo. Mauris eget porta diam. Duis ultrices, turpis a facilisis lacinia, velit neque blandit nibh, et egestas nisl tortor ut est. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla rutrum ipsum enim. Donec hendrerit ipsum risus, ac fermentum magna maximus et. Donec augue felis, gravida sit amet tempus ac, tempus eu nibh. Sed pellentesque blandit arcu eget viverra. Suspendisse augue nibh, aliquam eget lorem at, ullamcorper facilisis mauris. In sit amet sollicitudin tellus, ultricies sollicitudin ipsum. Nulla pellentesque tempor risus. Nam venenatis quis augue quis ultricies. Mauris ligula risus, placerat et placerat at, ultrices suscipit ante. Curabitur tristique auctor nulla, non pretium lectus feugiat nec. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris faucibus id nulla id elementum. Maecenas ut volutpat mi. Donec bibendum egestas est vel malesuada. Cras ut gravida nibh, eget facilisis odio. Nulla laoreet nulla vel massa vulputate gravida. Aliquam mauris elit, tempor id ex et, pulvinar ultrices enim. name: Webhook Subscriptions - description: > Subscriptions allow you to charge customers recurringly for access to a product or service. Edge supports subscriptions with billing cycles `weekly`, `biweekly`, `monthly`, `bimonthly`, `quarterly`, `semiannual`, and `yearly`. Edge will create a new charge against the associated payment method when a new cycle begins. ### Events You can listen to `subscriptions.created`, `subscription.updated` and `subscription.deleted` events on the resource. In addition, charges would trigger their respective events as they advance through their lifecycle. ### Detecting Failures A subscription will be in an `active` status unless specified otherwise. However, the customer may have entered the card details incorrectly. In this case, the subscription `status` will transit from `active` to `past_due`. Track this transition using `WebhookSubscription` by listening to the `subscription.updated` event. name: Subscriptions - description: > `LegalAddress` represents a physical address associated with the merchant account opener and the beneficial owners. ### Scoping Unlike its counterpart `ConsumerAddress` `LegalAddress` are not scoped to modes `sandbox` or `live`. name: Legal Addresses - description: > A customer in Edge represents a customer in your business. While the customer resource is considered optional, it is highly recommended that you create a customer for each of your customers. This will allow you to track past transactions involving the customer and will be used as evidence in the case of a chargeback/dispute. name: Customers - description: > A `User` represents an entity with login access to a merchant account in the Edge platform. Users with administrative access to a merchant account (for example, the merchant account opener) can use the Edge Dashboard to invite new users, update existing users and to remove them. name: Users - description: > `PayoutMethod` lets you link your bank account with Edge to receive payouts. Edge handles payouts through ACH and supports checking and savings accounts. ### Events Currently, there are no events triggered during the lifecycle of payouts. name: Payout Methods - description: > `Payout` lets you withdraw your earnings to a bank account (denoted by a `PayoutMethod`) periodically or manually as needed. Your ability to trigger a payout depends on your industry and perceived risks. Edge may need to implement a rolling reserve for merchants perceived as high-risk, which may delay your ability to trigger payouts until the reserve requirements are met. name: Payouts - description: > Use the `PaymentMethod` API to store customer credit/debit card details for immediate (charges) or later processing (subscriptions). The API does not accept raw card numbers or cvv values. Edge JS will provide tokenised values for card numbers (`card_pan_token`) and cvv (`card_cvv_token`). Edge currently supports credit and debit cards of Visa, Master, AMEX and Discovery. Edge intends to introduce support for ACH payments soon. name: Payment Methods - description: > # Details MerchantAccount is your organization on Edge. Edge periodically reviews the accuracy of the information provided, and keeping your merchant account profile up-to-date is essential. You can manage this information on the merchant dashboard and through the API. name: Merchant Accounts - description: > `ConsumerAddress` represents a physical address related to a customer, a charge (as a shipping address) or a payment method (as a billing address). ### Scoping `ConsumerAddresses` are scoped to your current mode (`sandbox` or `live`) denoted by the API Key. name: Consumer Addresses - description: > A `Charge` instance signifies an attempt to transfer money from a customer's payment method to your Edge merchant account. A charge optionally belongs to a `customer`, but it is recommended to associate a charge with the customer. Customer charge history can be used as evidence in case of a chargeback or dispute. ### Sale A “sale” is denoted by having a charge created with the `captured` attribute as `true` (default). In this case, the charge would start its lifecycle in a `pending` state and immediately get sent for processing. Its `processor_state` would then transit to `succeeded` or `failed`. ### Pre-authorization / completion flow Pre-authorization holds a certain amount from the customer's card. Such requests should be completed within 2 days time, or the hold will be removed. You can opt into a pre-authorization by creating a charge with the `captured` attribute set to `false`. Then to capture the charge, you would update the charge with a value equal to or less than the value provided when creating the charge. ### Refund a charge TOOD ### Events A charge through its lifecycle will emit events. You can listen to these events as webhooks through `WebhookSubscription`. - `charge.created` - `charge.updated` - `charge.refunded` - `charge.succeeded` - `charge.failed` - `charge.disputed` - `charge.deleted` name: Charges - description: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur varius ullamcorper sapien, id tempor eros efficitur at. Praesent suscipit cursus ipsum, at ultrices dui convallis a. Proin sit amet lectus libero. Etiam eu diam magna. Sed laoreet faucibus aliquet. Nam lobortis risus eget arcu pretium, at euismod justo bibendum. Fusce varius venenatis lectus a molestie. Vivamus lorem purus, egestas a consequat ut, dapibus et eros. Etiam porta ligula nec velit posuere iaculis. In molestie et massa et pulvinar. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Integer vel finibus lorem. Mauris nec dui eu quam varius lobortis. Cras tempor justo quis diam ultricies faucibus. Pellentesque tempus vulputate odio, eu sagittis lorem. Fusce sagittis dui in justo aliquet efficitur. Aliquam sed ex sed nulla imperdiet tempor at aliquet nibh. Proin mollis ante ut interdum elementum. Nam dignissim gravida accumsan. Curabitur consectetur pulvinar sem, vel pretium quam convallis sit amet. Ut lorem eros, malesuada id tempor ac, porttitor non quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed scelerisque, ipsum a pulvinar scelerisque, turpis tortor interdum mi, vel vestibulum nisl odio nec tellus. Sed eu metus vitae ex aliquet mattis non non orci. Vestibulum malesuada ac mauris in lobortis. Sed dapibus neque quis enim eleifend vehicula. Vivamus imperdiet dignissim velit quis varius. Morbi lectus lacus, auctor ac justo ut, ornare imperdiet turpis. Pellentesque sit amet arcu sit amet erat varius eleifend sit amet sed augue. Nunc sed nulla at nisi vestibulum tempor in sit amet odio. In elit turpis, pellentesque vel venenatis ac, sodales nec nibh. Cras laoreet tristique dui quis bibendum. Nullam condimentum turpis magna, quis laoreet purus placerat nec. Nulla facilisi. Proin elit justo, euismod et faucibus vel, volutpat id nulla. Quisque blandit ipsum non lorem aliquam pharetra. Integer pellentesque turpis sit amet ipsum tristique sagittis. Proin diam nulla, cursus non pharetra a, mattis a leo. Mauris eget porta diam. Duis ultrices, turpis a facilisis lacinia, velit neque blandit nibh, et egestas nisl tortor ut est. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla rutrum ipsum enim. Donec hendrerit ipsum risus, ac fermentum magna maximus et. Donec augue felis, gravida sit amet tempus ac, tempus eu nibh. Sed pellentesque blandit arcu eget viverra. Suspendisse augue nibh, aliquam eget lorem at, ullamcorper facilisis mauris. In sit amet sollicitudin tellus, ultricies sollicitudin ipsum. Nulla pellentesque tempor risus. Nam venenatis quis augue quis ultricies. Mauris ligula risus, placerat et placerat at, ultrices suscipit ante. Curabitur tristique auctor nulla, non pretium lectus feugiat nec. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris faucibus id nulla id elementum. Maecenas ut volutpat mi. Donec bibendum egestas est vel malesuada. Cras ut gravida nibh, eget facilisis odio. Nulla laoreet nulla vel massa vulputate gravida. Aliquam mauris elit, tempor id ex et, pulvinar ultrices enim. name: Events - description: > Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur varius ullamcorper sapien, id tempor eros efficitur at. Praesent suscipit cursus ipsum, at ultrices dui convallis a. Proin sit amet lectus libero. Etiam eu diam magna. Sed laoreet faucibus aliquet. Nam lobortis risus eget arcu pretium, at euismod justo bibendum. Fusce varius venenatis lectus a molestie. Vivamus lorem purus, egestas a consequat ut, dapibus et eros. Etiam porta ligula nec velit posuere iaculis. In molestie et massa et pulvinar. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Integer vel finibus lorem. Mauris nec dui eu quam varius lobortis. Cras tempor justo quis diam ultricies faucibus. Pellentesque tempus vulputate odio, eu sagittis lorem. Fusce sagittis dui in justo aliquet efficitur. Aliquam sed ex sed nulla imperdiet tempor at aliquet nibh. Proin mollis ante ut interdum elementum. Nam dignissim gravida accumsan. Curabitur consectetur pulvinar sem, vel pretium quam convallis sit amet. Ut lorem eros, malesuada id tempor ac, porttitor non quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed scelerisque, ipsum a pulvinar scelerisque, turpis tortor interdum mi, vel vestibulum nisl odio nec tellus. Sed eu metus vitae ex aliquet mattis non non orci. Vestibulum malesuada ac mauris in lobortis. Sed dapibus neque quis enim eleifend vehicula. Vivamus imperdiet dignissim velit quis varius. Morbi lectus lacus, auctor ac justo ut, ornare imperdiet turpis. Pellentesque sit amet arcu sit amet erat varius eleifend sit amet sed augue. Nunc sed nulla at nisi vestibulum tempor in sit amet odio. In elit turpis, pellentesque vel venenatis ac, sodales nec nibh. Cras laoreet tristique dui quis bibendum. Nullam condimentum turpis magna, quis laoreet purus placerat nec. Nulla facilisi. Proin elit justo, euismod et faucibus vel, volutpat id nulla. Quisque blandit ipsum non lorem aliquam pharetra. Integer pellentesque turpis sit amet ipsum tristique sagittis. Proin diam nulla, cursus non pharetra a, mattis a leo. Mauris eget porta diam. Duis ultrices, turpis a facilisis lacinia, velit neque blandit nibh, et egestas nisl tortor ut est. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla rutrum ipsum enim. Donec hendrerit ipsum risus, ac fermentum magna maximus et. Donec augue felis, gravida sit amet tempus ac, tempus eu nibh. Sed pellentesque blandit arcu eget viverra. Suspendisse augue nibh, aliquam eget lorem at, ullamcorper facilisis mauris. In sit amet sollicitudin tellus, ultricies sollicitudin ipsum. Nulla pellentesque tempor risus. Nam venenatis quis augue quis ultricies. Mauris ligula risus, placerat et placerat at, ultrices suscipit ante. Curabitur tristique auctor nulla, non pretium lectus feugiat nec. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris faucibus id nulla id elementum. Maecenas ut volutpat mi. Donec bibendum egestas est vel malesuada. Cras ut gravida nibh, eget facilisis odio. Nulla laoreet nulla vel massa vulputate gravida. Aliquam mauris elit, tempor id ex et, pulvinar ultrices enim. name: Attachments - description: > The Edge API relies on authentication via public and secret keys: - For environments exposed to the public (such as browsers) use your public key - For server to server communication use your secret key To authenticate a request set the `Authorization` header to `Bearer `. name: Authentication - description: "The Edge JavaScript SDK on `intializeForm()` exposes a form builder. The main function exposed by the form builder is the `inputs` function (`form.inputs(…)`). It initialises Edge Inputs, making it easy to collect encrypted cardholder data in a completely PCI-compliant environment.\n\nEdge Inputs are served within an iFrame retrieved directly from Edge’s PCI-compliant infrastructure, which can reduce your PCI DSS compliance scope to the simplest form (SAQ-A) once integrated correctly.\n\nPass the id of the element in which the iFrame should be embedded, for example:\n\n``` javascript\n// form.inputs(id: String, settings: Object);\nform.inputs('card-details', {\n theme: 'material'\n});\n```\n\n## Themes\n\nInputs can be customized to match your brand’s design system. The Edge JavaScript SDK allows additional configuration for styling both the Evervault Inputs container as well as each\_`` within the container.\n\n### Supported Settings\n\n| Parameter | Type | Description |\n| --- | --- | --- |\n| theme | String | The base styling for Inputs. Currently supports default, minimal and material. |\n| height | String | The height of the Evervault Inputs iframe. |\n| primaryColor | String | The main theme color. |\n| labelColor | String | The color CSS property applied to the input labels. |\n| inputBorderColor | String | The border-color CSS property applied to inputs. |\n| inputTextColor | String | The color CSS property applied to inputs. |\n| inputBackgroundColor | String | The color CSS property applied to the ::placeholder CSS pseudo-element for inputs. |\n| inputBorderRadius | String | The border-radius CSS property applied to inputs. |\n| inputHeight | String | The height CSS property applied to inputs. |\n| cardNumberLabel | String | The label for the card number input |\n| expirationDateLabel | String | The label for the expiration date input |\n| securityCodeLabel | String | The label for the security code input |\n| expirationDatePlaceholder | String | The placeholder shown for the expiration date input |\n| invalidCardNumberLabel | String | The message shown on an invalid card number |\n| invalidExpirationDateLabel | String | The message shown on an invalid expiration date |\n| invalidSecurityCodeLabel | String | The message shown on an invalid security code |\n| fontUrl | String | Load a custom font with the Google Fonts API |\n| fontFamily | String | Set the font-family for the fontUrl |\n| inputFontSize | String | Set the font-size property of the input attribute |\n| inputBoxShadow | String | Set the box-shadow property of the input attribute |\n| labelFontSize | String | Set the font-size property of the label attribute |\n| labelWeight | String | Set the font-weight property of the label attribute |\n| disableCVV | Boolean | If true the CVV field will not be displayed |\n\n### Default Theme\n\nSet\_`theme`\_to\_`default`\_to use the\_*Default*\_theme for Inputs.\n\n![Screenshot 2023-04-10 at 09.54.34.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c81199df-de61-4780-b7b6-c488647ba47b/Screenshot_2023-04-10_at_09.54.34.png)\n\n### Minimal Theme\n\nSet\_`theme`\_to\_`minimal`\_to use the\_*Minimal*\_theme for Inputs.\n\n![Screenshot 2023-04-10 at 09.56.04.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1a732d6c-0bfa-4089-89a7-52d837f137c9/Screenshot_2023-04-10_at_09.56.04.png)\n\n### Material Theme\n\nSet\_`theme`\_to\_`material`\_to use the\_*Material*\_theme for Inputs.\n" name: Edge.js paths: /attachments/{id}: get: tags: - Attachments summary: Show operationId: Attachments_showIndividualAttachment security: - bearerAuth: [] description: Shows an individual Attachment parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[records] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/attachment' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /charges: get: tags: - Charges summary: List of Charges operationId: Charges_getList security: - bearerAuth: [] description: Lists all Charges parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[billing_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[shipping_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[amount_cents] in: query required: false schema: type: string - name: filter[captured] in: query required: false schema: type: string - name: filter[currency] in: query required: false schema: type: string - name: filter[description] in: query required: false schema: type: string - name: filter[fee_cents] in: query required: false schema: type: string - name: filter[gateway_fee_cents] in: query required: false schema: type: string - name: filter[net_cents] in: query required: false schema: type: string - name: filter[processor_state] in: query required: false schema: type: string - name: filter[refund_amount_cents] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/charges' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Charges summary: Create operationId: Charges_createNewCharge security: - bearerAuth: [] description: Creates an new Charge parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[billing_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[shipping_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/ChargesCreateNewChargeRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/charge' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /charges/{id}: get: tags: - Charges summary: Show operationId: Charges_showIndividualCharge security: - bearerAuth: [] description: Shows an individual Charge parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[billing_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[shipping_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/charge' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /consumer_addresses: get: tags: - Consumer Addresses summary: List of Consumer Addresses operationId: ConsumerAddresses_listGetAll security: - bearerAuth: [] description: Lists all Consumer Addresses parameters: - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[city] in: query required: false schema: type: string - name: filter[country] in: query required: false schema: type: string - name: filter[line_1] in: query required: false schema: type: string - name: filter[line_2] in: query required: false schema: type: string - name: filter[state] in: query required: false schema: type: string - name: filter[zip] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/consumer_addresses' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Consumer Addresses summary: Create operationId: ConsumerAddresses_createNewAddress security: - bearerAuth: [] description: Creates an new Consumer Address parameters: - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/ConsumerAddressesCreateNewAddressRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/consumer_address' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /consumer_addresses/{id}: get: tags: - Consumer Addresses summary: Show operationId: ConsumerAddresses_showIndividualAddress security: - bearerAuth: [] description: Shows an individual Consumer Address parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/consumer_address' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /customers: get: tags: - Customers summary: List of Customers operationId: Customers_getList security: - bearerAuth: [] description: Lists all Customers parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[description] in: query required: false schema: type: string - name: filter[email] in: query required: false schema: type: string - name: filter[name] in: query required: false schema: type: string - name: filter[phone_number] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/customers' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Customers summary: Create operationId: Customers_createNewCustomer security: - bearerAuth: [] description: Creates an new Customer parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/CustomersCreateNewCustomerRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/customer' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /customers/{id}: get: tags: - Customers summary: Show operationId: Customers_showIndividualCustomer security: - bearerAuth: [] description: Shows an individual Customer parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/customer' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Customers summary: Update operationId: Customers_updateExistingCustomer security: - bearerAuth: [] description: Updates an existing Customer parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/CustomersUpdateExistingCustomerRequest' responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/customer' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable /events: get: tags: - Events summary: List of Events operationId: Events_getAll security: - bearerAuth: [] description: Lists all Events parameters: - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[resources] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[code] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/events' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable /events/{id}: get: tags: - Events summary: Show operationId: Events_showIndividualEvent security: - bearerAuth: [] description: Shows an individual Event parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[resources] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/event' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /legal_addresses: get: tags: - Legal Addresses summary: List of Legal Addresses operationId: LegalAddresses_listAll security: - bearerAuth: [] description: Lists all Legal Addresses parameters: - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[city] in: query required: false schema: type: string - name: filter[country] in: query required: false schema: type: string - name: filter[line_1] in: query required: false schema: type: string - name: filter[line_2] in: query required: false schema: type: string - name: filter[state] in: query required: false schema: type: string - name: filter[zip] in: query required: false schema: type: string responses: '200': description: filtered by zip content: application/vnd.api+json: schema: $ref: '#/components/schemas/legal_addresses' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Legal Addresses summary: Create operationId: LegalAddresses_createNew security: - bearerAuth: [] description: Creates an new Legal Address parameters: - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/LegalAddressesCreateNewRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/legal_address' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /legal_addresses/{id}: get: tags: - Legal Addresses summary: Show operationId: LegalAddresses_showIndividual security: - bearerAuth: [] description: Shows an individual Legal Address parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/legal_address' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Legal Addresses summary: Update operationId: LegalAddresses_updateExistingAddress security: - bearerAuth: [] description: Updates an existing Legal Address parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/LegalAddressesUpdateExistingAddressRequest' responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/legal_address' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable /merchant_accounts: get: tags: - Merchant Accounts summary: List of Merchant Accounts operationId: MerchantAccounts_listAll security: - bearerAuth: [] description: Lists all Merchant Accounts parameters: - name: fields[consumer_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[webhook_subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[average_monthly_transaction_volume_cents] in: query required: false schema: type: string - name: filter[average_transaction_size_cents] in: query required: false schema: type: string - name: filter[business_address] in: query required: false schema: type: string - name: filter[business_address_line_2] in: query required: false schema: type: string - name: filter[business_city_name] in: query required: false schema: type: string - name: filter[business_country] in: query required: false schema: type: string - name: filter[business_description] in: query required: false schema: type: string - name: filter[business_name] in: query required: false schema: type: string - name: filter[business_privacy_url] in: query required: false schema: type: string - name: filter[business_state] in: query required: false schema: type: string - name: filter[business_support_email] in: query required: false schema: type: string - name: filter[business_support_url] in: query required: false schema: type: string - name: filter[business_terms_url] in: query required: false schema: type: string - name: filter[business_timezone] in: query required: false schema: type: string - name: filter[business_website] in: query required: false schema: type: string - name: filter[business_zip_code] in: query required: false schema: type: string - name: filter[max_transaction_size_cents] in: query required: false schema: type: string - name: filter[phone_number] in: query required: false schema: type: string - name: filter[public_business_name] in: query required: false schema: type: string - name: filter[shortened_descriptor] in: query required: false schema: type: string - name: filter[statement_descriptor] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/merchant_accounts' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable /merchant_accounts/{id}: get: tags: - Merchant Accounts summary: Show operationId: MerchantAccounts_showIndividual security: - bearerAuth: [] description: Shows an individual Merchant Account parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[consumer_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[webhook_subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/merchant_account' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Merchant Accounts summary: Update operationId: MerchantAccounts_updateExistingAccount security: - bearerAuth: [] description: Updates an existing Merchant Account parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[consumer_addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[webhook_subscriptions] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: >- #/components/schemas/MerchantAccountsUpdateExistingAccountRequest responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/merchant_account' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable /payment_methods: get: tags: - Payment Methods summary: List of Payment Methods operationId: PaymentMethods_list security: - bearerAuth: [] description: Lists all Payment Methods parameters: - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[card_bin] in: query required: false schema: type: string - name: filter[card_cvv_token] in: query required: false schema: type: string - name: filter[card_last_four] in: query required: false schema: type: string - name: filter[card_pan_token] in: query required: false schema: type: string - name: filter[description] in: query required: false schema: type: string - name: filter[external_state] in: query required: false schema: type: string - name: filter[kind] in: query required: false schema: type: string - name: filter[name] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payment_methods' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Payment Methods summary: Create operationId: PaymentMethods_createNewMethod security: - bearerAuth: [] description: Creates an new Payment Method parameters: - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/PaymentMethodsCreateNewMethodRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/payment_method' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /payment_methods/{id}: get: tags: - Payment Methods summary: Show operationId: PaymentMethods_showIndividual security: - bearerAuth: [] description: Shows an individual Payment Method parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[addresses] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payment_method' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /payout_methods: get: tags: - Payout Methods summary: List of Payout Methods operationId: PayoutMethods_getList security: - bearerAuth: [] description: Lists all Payout Methods parameters: - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[account_number] in: query required: false schema: type: string - name: filter[account_type] in: query required: false schema: type: string - name: filter[institution_name] in: query required: false schema: type: string - name: filter[payout_method_type] in: query required: false schema: type: string - name: filter[routing_number] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payout_methods' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Payout Methods summary: Create operationId: PayoutMethods_createNew security: - bearerAuth: [] description: Creates an new Payout Method parameters: - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/PayoutMethodsCreateNewRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/payout_method' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /payout_methods/{id}: get: tags: - Payout Methods summary: Show operationId: PayoutMethods_showIndividual security: - bearerAuth: [] description: Shows an individual Payout Method parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[payouts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payout_method' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /payouts: get: tags: - Payouts summary: List of Payouts operationId: Payouts_list security: - bearerAuth: [] description: Lists all Payouts parameters: - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[amount_cents] in: query required: false schema: type: string - name: filter[amount_currency] in: query required: false schema: type: string - name: filter[fee_cents] in: query required: false schema: type: string - name: filter[fee_currency] in: query required: false schema: type: string - name: filter[net_amount_cents] in: query required: false schema: type: string - name: filter[net_amount_currency] in: query required: false schema: type: string - name: filter[processor_state] in: query required: false schema: type: string - name: filter[transfer_credit_type] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payouts' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Payouts summary: Create operationId: Payouts_createNewPayout security: - bearerAuth: [] description: Creates an new Payout parameters: - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/PayoutsCreateNewPayoutRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/payout' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /payouts/{id}: get: tags: - Payouts summary: Show operationId: Payouts_getIndividualPayout security: - bearerAuth: [] description: Shows an individual Payout parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[payout_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/payout' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable /subscriptions: get: tags: - Subscriptions summary: List of Subscriptions operationId: Subscriptions_listGetAll security: - bearerAuth: [] description: Lists all Subscriptions parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[amount_cents] in: query required: false schema: type: string - name: filter[amount_currency] in: query required: false schema: type: string - name: filter[billing_period] in: query required: false schema: type: string - name: filter[description] in: query required: false schema: type: string - name: filter[next_billing_day] in: query required: false schema: type: string - name: filter[status] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/subscriptions' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Subscriptions summary: Create operationId: Subscriptions_createNew security: - bearerAuth: [] description: Creates an new Subscription parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/SubscriptionsCreateNewRequest' responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/subscription' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /subscriptions/{id}: get: tags: - Subscriptions summary: Show operationId: Subscriptions_showIndividual security: - bearerAuth: [] description: Shows an individual Subscription parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/subscription' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Subscriptions summary: Update operationId: Subscriptions_updateExistingSubscription security: - bearerAuth: [] description: Updates an existing Subscription parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[charges] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[customers] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[payment_methods] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: >- #/components/schemas/SubscriptionsUpdateExistingSubscriptionRequest responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/subscription' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable /users: get: tags: - Users summary: List of Users operationId: Users_getList security: - bearerAuth: [] description: Lists all Users parameters: - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[account_status] in: query required: false schema: type: string - name: filter[email] in: query required: false schema: type: string - name: filter[first_name] in: query required: false schema: type: string - name: filter[job_title] in: query required: false schema: type: string - name: filter[last_name] in: query required: false schema: type: string - name: filter[phone_number] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/users' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable /users/{id}: get: tags: - Users summary: Show operationId: Users_showIndividualUser security: - bearerAuth: [] description: Shows an individual User parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/user' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Users summary: Update operationId: Users_updateUserDetails security: - bearerAuth: [] description: Updates an existing User parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: '#/components/schemas/UsersUpdateUserDetailsRequest' responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/user' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable /webhook_subscriptions: get: tags: - Webhook Subscriptions summary: List of Webhook Subscriptions operationId: WebhookSubscriptions_listAll security: - bearerAuth: [] description: Lists all Webhook Subscriptions parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false - name: filter[active] in: query required: false schema: type: string - name: filter[concurrency_limit] in: query required: false schema: type: string - name: filter[description] in: query required: false schema: type: string - name: filter[url] in: query required: false schema: type: string responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/webhook_subscriptions' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable post: tags: - Webhook Subscriptions summary: Create operationId: WebhookSubscriptions_createNewSubscription security: - bearerAuth: [] description: Creates an new Webhook Subscription parameters: - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: >- #/components/schemas/WebhookSubscriptionsCreateNewSubscriptionRequest responses: '201': description: Created content: application/vnd.api+json: schema: $ref: '#/components/schemas/webhook_subscription' '401': description: Unauthorized '403': description: Forbidden '406': description: Not Acceptable '415': description: Unsupported Media Type '422': description: Unprocessible Entity content: application/vnd.api+json: schema: $ref: '#/components/schemas/errors' /webhook_subscriptions/{id}: get: tags: - Webhook Subscriptions summary: Show operationId: WebhookSubscriptions_showIndividual security: - bearerAuth: [] description: Shows an individual Webhook Subscription parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/webhook_subscription' '401': description: Unauthorized '404': description: Not Found '406': description: Not Acceptable patch: tags: - Webhook Subscriptions summary: Update operationId: WebhookSubscriptions_updateExistingSubscription security: - bearerAuth: [] description: Updates an existing Webhook Subscription parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false requestBody: content: application/vnd.api+json: schema: $ref: >- #/components/schemas/WebhookSubscriptionsUpdateExistingSubscriptionRequest responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/webhook_subscription' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable delete: tags: - Webhook Subscriptions summary: Destroy operationId: WebhookSubscriptions_destroySubscription security: - bearerAuth: [] description: Destroys an existing Webhook Subscription parameters: - name: id in: path required: true schema: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 - name: fields[events] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: fields[merchant_accounts] in: query style: form explode: false schema: type: array items: type: string example: - id - created_at - updated_at required: false - name: include in: query style: form explode: false schema: type: array items: type: string example: - a - a.b - c - c.d.e required: false responses: '200': description: OK content: application/vnd.api+json: schema: $ref: '#/components/schemas/webhook_subscription' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '406': description: Not Acceptable components: securitySchemes: bearerAuth: type: http scheme: bearer schemas: errors: type: object required: - errors - meta properties: errors: type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string webhook_subscription: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the webhook subscription type: string x-nullable: true active: description: If the webhook subscription is active type: boolean concurrency_limit: description: The concurrency limit type: integer events: description: Events the webhook is subscribed to type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. secret_key: description: The secret key type: string url: description: The URL of the webhook subscription type: string created_at: description: >- Date and time when the webhook subscription was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the webhook subscription was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string webhook_subscriptions: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the webhook subscription type: string x-nullable: true active: description: If the webhook subscription is active type: boolean concurrency_limit: description: The concurrency limit type: integer events: description: Events the webhook is subscribed to type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. secret_key: description: The secret key type: string url: description: The URL of the webhook subscription type: string created_at: description: >- Date and time when the webhook subscription was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the webhook subscription was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string webhook_subscription_attributes: type: object properties: description: description: The description of the webhook subscription type: string x-nullable: true active: description: If the webhook subscription is active type: boolean concurrency_limit: description: The concurrency limit type: integer events: description: Events the webhook is subscribed to type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. secret_key: description: The secret key type: string url: description: The URL of the webhook subscription type: string created_at: description: >- Date and time when the webhook subscription was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the webhook subscription was last updated at (format iso8601) type: string format: date-time readOnly: true user: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: accepts_terms: description: If the user accepts the terms of service of Edge type: boolean x-nullable: true account_status: description: The account status type: string enum: - incomplete - active - quarantined - banned - pending x-nullable: true email: description: The email address type: string first_name: description: The first name type: string job_title: description: The job title type: string x-nullable: true last_name: description: The last name type: string phone_number: description: The phone number type: string x-nullable: true confirmation_sent_at: description: >- Date and time when the user confirmation email was sent out to the users e-mail (format in iso8601) type: string x-nullable: true format: date-time readOnly: true confirmed_at: description: >- Date and time when the user confirmed the e-mail address (format iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: Date and time when the user was created (format iso8601) type: string format: date-time readOnly: true current_sign_in_at: description: >- Date and time when the current session was started (format iso8601) type: string x-nullable: true format: date-time readOnly: true date_of_birth: description: The users date of birth type: string x-nullable: true format: date-time readOnly: true expired_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_activity_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_sign_in_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true locked_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true password_changed_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true remember_created_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true reset_password_sent_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true updated_at: description: Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: merchant_accounts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string users: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: accepts_terms: description: If the user accepts the terms of service of Edge type: boolean x-nullable: true account_status: description: The account status type: string enum: - incomplete - active - quarantined - banned - pending x-nullable: true email: description: The email address type: string first_name: description: The first name type: string job_title: description: The job title type: string x-nullable: true last_name: description: The last name type: string phone_number: description: The phone number type: string x-nullable: true confirmation_sent_at: description: >- Date and time when the user confirmation email was sent out to the users e-mail (format in iso8601) type: string x-nullable: true format: date-time readOnly: true confirmed_at: description: >- Date and time when the user confirmed the e-mail address (format iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: Date and time when the user was created (format iso8601) type: string format: date-time readOnly: true current_sign_in_at: description: >- Date and time when the current session was started (format iso8601) type: string x-nullable: true format: date-time readOnly: true date_of_birth: description: The users date of birth type: string x-nullable: true format: date-time readOnly: true expired_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_activity_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_sign_in_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true locked_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true password_changed_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true remember_created_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true reset_password_sent_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true updated_at: description: Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: merchant_accounts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string user_attributes: type: object properties: accepts_terms: description: If the user accepts the terms of service of Edge type: boolean x-nullable: true account_status: description: The account status type: string enum: - incomplete - active - quarantined - banned - pending x-nullable: true email: description: The email address type: string first_name: description: The first name type: string job_title: description: The job title type: string x-nullable: true last_name: description: The last name type: string phone_number: description: The phone number type: string x-nullable: true confirmation_sent_at: description: >- Date and time when the user confirmation email was sent out to the users e-mail (format in iso8601) type: string x-nullable: true format: date-time readOnly: true confirmed_at: description: >- Date and time when the user confirmed the e-mail address (format iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: Date and time when the user was created (format iso8601) type: string format: date-time readOnly: true current_sign_in_at: description: Date and time when the current session was started (format iso8601) type: string x-nullable: true format: date-time readOnly: true date_of_birth: description: The users date of birth type: string x-nullable: true format: date-time readOnly: true expired_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_activity_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true last_sign_in_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true locked_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true password_changed_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true remember_created_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true reset_password_sent_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true updated_at: description: Date and time in iso8601 type: string format: date-time readOnly: true subscription: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the subscription type: string x-nullable: true amount_cents: description: The subscription amount in cents type: integer amount_currency: description: The currency code in ISO 4217 format type: string billing_period: description: The billing period type: string enum: - weekly - monthly - yearly - biweekly - bimonthly - quarterly - semiannual next_billing_day: description: TBD type: integer x-nullable: true status: description: The status of the subscription. type: string enum: - active - past_due - canceled - expired - incomplete created_at: description: >- The date-time when the subscription was created. Date and time in iso8601 type: string format: date-time readOnly: true discarded_at: description: >- The date-time when the subscription was discarded at. Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true end_at: description: >- The day when the subscription expires. Date and time in iso8601 type: string x-nullable: true format: date readOnly: true next_billing: description: The next billing Date and time in iso8601 type: string format: date readOnly: true updated_at: description: >- The date-time when the subscription was last updated. Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/payment_method_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string subscriptions: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the subscription type: string x-nullable: true amount_cents: description: The subscription amount in cents type: integer amount_currency: description: The currency code in ISO 4217 format type: string billing_period: description: The billing period type: string enum: - weekly - monthly - yearly - biweekly - bimonthly - quarterly - semiannual next_billing_day: description: TBD type: integer x-nullable: true status: description: The status of the subscription. type: string enum: - active - past_due - canceled - expired - incomplete created_at: description: >- The date-time when the subscription was created. Date and time in iso8601 type: string format: date-time readOnly: true discarded_at: description: >- The date-time when the subscription was discarded at. Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true end_at: description: >- The day when the subscription expires. Date and time in iso8601 type: string x-nullable: true format: date readOnly: true next_billing: description: The next billing Date and time in iso8601 type: string format: date readOnly: true updated_at: description: >- The date-time when the subscription was last updated. Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/payment_method_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string subscription_attributes: type: object properties: description: description: The description of the subscription type: string x-nullable: true amount_cents: description: The subscription amount in cents type: integer amount_currency: description: The currency code in ISO 4217 format type: string billing_period: description: The billing period type: string enum: - weekly - monthly - yearly - biweekly - bimonthly - quarterly - semiannual next_billing_day: description: TBD type: integer x-nullable: true status: description: The status of the subscription. type: string enum: - active - past_due - canceled - expired - incomplete created_at: description: >- The date-time when the subscription was created. Date and time in iso8601 type: string format: date-time readOnly: true discarded_at: description: >- The date-time when the subscription was discarded at. Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true end_at: description: The day when the subscription expires. Date and time in iso8601 type: string x-nullable: true format: date readOnly: true next_billing: description: The next billing Date and time in iso8601 type: string format: date readOnly: true updated_at: description: >- The date-time when the subscription was last updated. Date and time in iso8601 type: string format: date-time readOnly: true payout_method: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: account_number: description: The account number which the payout will be sent to type: string account_type: description: The account type type: string enum: - checking - savings - unknown institution_name: description: The institution which the account is held type: string payout_method_type: description: The payout method type type: string enum: - ach routing_number: description: The routing number of the account type: string created_at: description: >- Date and time when the payout method was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the payout method was last updated (format iso8601) type: string format: date-time readOnly: true verified_at: description: >- Date and time when the payout method as verified (foramt iso8601) type: string x-nullable: true format: date-time readOnly: true relationships: type: object properties: payouts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/payout_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payout_methods: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: account_number: description: The account number which the payout will be sent to type: string account_type: description: The account type type: string enum: - checking - savings - unknown institution_name: description: The institution which the account is held type: string payout_method_type: description: The payout method type type: string enum: - ach routing_number: description: The routing number of the account type: string created_at: description: >- Date and time when the payout method was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the payout method was last updated (format iso8601) type: string format: date-time readOnly: true verified_at: description: >- Date and time when the payout method as verified (foramt iso8601) type: string x-nullable: true format: date-time readOnly: true relationships: type: object properties: payouts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/payout_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payout_method_attributes: type: object properties: account_number: description: The account number which the payout will be sent to type: string account_type: description: The account type type: string enum: - checking - savings - unknown institution_name: description: The institution which the account is held type: string payout_method_type: description: The payout method type type: string enum: - ach routing_number: description: The routing number of the account type: string created_at: description: Date and time when the payout method was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the payout method was last updated (format iso8601) type: string format: date-time readOnly: true verified_at: description: Date and time when the payout method as verified (foramt iso8601) type: string x-nullable: true format: date-time readOnly: true payout: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: amount_cents: description: Payout amount in cents type: integer amount_currency: description: Payout amount currency code (ISO 4217) type: string fee_cents: description: Fee in cents type: integer fee_currency: description: Fee currency code (ISO 4217) type: string net_amount_cents: description: Net amount in cents type: integer net_amount_currency: description: Net amount currency code (ISO 4217) type: string processor_state: description: The state of the payout type: string enum: - pending - failed - completed - reversed x-nullable: true transfer_credit_type: description: The transfer credit type type: string enum: - ach-credit-standard - ach-credit-same-day x-nullable: true created_at: description: Date and time when the payout was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the payout was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: payout_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/payout_method_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payouts: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: amount_cents: description: Payout amount in cents type: integer amount_currency: description: Payout amount currency code (ISO 4217) type: string fee_cents: description: Fee in cents type: integer fee_currency: description: Fee currency code (ISO 4217) type: string net_amount_cents: description: Net amount in cents type: integer net_amount_currency: description: Net amount currency code (ISO 4217) type: string processor_state: description: The state of the payout type: string enum: - pending - failed - completed - reversed x-nullable: true transfer_credit_type: description: The transfer credit type type: string enum: - ach-credit-standard - ach-credit-same-day x-nullable: true created_at: description: Date and time when the payout was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the payout was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: payout_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/payout_method_attributes' - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payout_attributes: type: object properties: amount_cents: description: Payout amount in cents type: integer amount_currency: description: Payout amount currency code (ISO 4217) type: string fee_cents: description: Fee in cents type: integer fee_currency: description: Fee currency code (ISO 4217) type: string net_amount_cents: description: Net amount in cents type: integer net_amount_currency: description: Net amount currency code (ISO 4217) type: string processor_state: description: The state of the payout type: string enum: - pending - failed - completed - reversed x-nullable: true transfer_credit_type: description: The transfer credit type type: string enum: - ach-credit-standard - ach-credit-same-day x-nullable: true created_at: description: Date and time when the payout was created (format iso8601) type: string format: date-time readOnly: true updated_at: description: Date and time when the payout was last updated (format iso8601) type: string format: date-time readOnly: true payment_method: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the payment method type: string x-nullable: true card_bin: description: The card BIN (first 6 digits) type: string x-nullable: true card_cvv_token: description: The encrypted CVV token of the card type: string card_last_four: description: The last four digits of the card type: string x-nullable: true card_pan_token: description: The encrypted card number token type: string external_state: description: TBD type: string kind: description: The type of payment method type: string enum: - visa - mastercard - amex - discover - ach - unknown x-nullable: true name: description: The card or account holder name type: string x-nullable: true expiry_month: description: 'Month of expiration (ex: 06)' type: integer expiry_year: description: 'Year of expiration (ex: 2027)' type: integer created_at: description: >- Date and time when the payment method was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time whent the payment method was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the payment method was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payment_methods: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: The description of the payment method type: string x-nullable: true card_bin: description: The card BIN (first 6 digits) type: string x-nullable: true card_cvv_token: description: The encrypted CVV token of the card type: string card_last_four: description: The last four digits of the card type: string x-nullable: true card_pan_token: description: The encrypted card number token type: string external_state: description: TBD type: string kind: description: The type of payment method type: string enum: - visa - mastercard - amex - discover - ach - unknown x-nullable: true name: description: The card or account holder name type: string x-nullable: true expiry_month: description: 'Month of expiration (ex: 06)' type: integer expiry_year: description: 'Year of expiration (ex: 2027)' type: integer created_at: description: >- Date and time when the payment method was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time whent the payment method was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the payment method was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string payment_method_attributes: type: object properties: description: description: The description of the payment method type: string x-nullable: true card_bin: description: The card BIN (first 6 digits) type: string x-nullable: true card_cvv_token: description: The encrypted CVV token of the card type: string card_last_four: description: The last four digits of the card type: string x-nullable: true card_pan_token: description: The encrypted card number token type: string external_state: description: TBD type: string kind: description: The type of payment method type: string enum: - visa - mastercard - amex - discover - ach - unknown x-nullable: true name: description: The card or account holder name type: string x-nullable: true expiry_month: description: 'Month of expiration (ex: 06)' type: integer expiry_year: description: 'Year of expiration (ex: 2027)' type: integer created_at: description: Date and time when the payment method was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time whent the payment method was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the payment method was last updated (format iso8601) type: string format: date-time readOnly: true merchant_account: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: average_monthly_transaction_volume_cents: description: The average monthly transaction volume (USD cents) type: integer average_transaction_size_cents: description: The average transaction size (USD cents) type: integer business_address: description: Business address line 1 type: string x-nullable: true business_address_line_2: description: Business addess line 2 type: string x-nullable: true business_city_name: description: Business address city type: string x-nullable: true business_country: description: Business address country code (ISO 3166-1 alpha-3) type: string x-nullable: true business_description: description: A short description of the business type: string business_name: description: Business name type: string business_privacy_url: description: The URL for the business privacy policy type: string x-nullable: true business_state: description: Business address state type: string x-nullable: true business_support_email: description: >- The support email address your customers can use to contact you type: string x-nullable: true business_support_url: description: The URL for the business support page type: string x-nullable: true business_terms_url: description: The URL for the business terms of service type: string x-nullable: true business_timezone: description: 'The timezone which the business operates in (ex: UTC)' type: string x-nullable: true business_website: description: The website URL type: string x-nullable: true business_zip_code: description: Business address zip code type: string x-nullable: true max_transaction_size_cents: description: The maximum transaction size (USD cents) type: integer phone_number: description: The business phone number type: string x-nullable: true public_business_name: description: The business name that will be displayed to customers type: string x-nullable: true shortened_descriptor: description: '' type: string x-nullable: true statement_descriptor: description: >- The descriptor to be displayed on customer statement should a descriptor not be type: string x-nullable: true active_at: description: >- The date-time when the account was activated (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- Time date-time when the merchant account was created (Date and time in iso8601) type: string format: date-time readOnly: true manual_review_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true pending_at: description: >- The date-time when the merchant account onboarding process was completed and sent for review (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the merchant account was last updated at (Date and time in iso8601) type: string format: date-time readOnly: true relationships: type: object properties: consumer_addresses: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customers: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payouts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_methods: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true webhook_subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payout_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/consumer_address_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/payout_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/webhook_subscription_attributes' - $ref: '#/components/schemas/payout_method_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string merchant_accounts: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: average_monthly_transaction_volume_cents: description: The average monthly transaction volume (USD cents) type: integer average_transaction_size_cents: description: The average transaction size (USD cents) type: integer business_address: description: Business address line 1 type: string x-nullable: true business_address_line_2: description: Business addess line 2 type: string x-nullable: true business_city_name: description: Business address city type: string x-nullable: true business_country: description: Business address country code (ISO 3166-1 alpha-3) type: string x-nullable: true business_description: description: A short description of the business type: string business_name: description: Business name type: string business_privacy_url: description: The URL for the business privacy policy type: string x-nullable: true business_state: description: Business address state type: string x-nullable: true business_support_email: description: >- The support email address your customers can use to contact you type: string x-nullable: true business_support_url: description: The URL for the business support page type: string x-nullable: true business_terms_url: description: The URL for the business terms of service type: string x-nullable: true business_timezone: description: 'The timezone which the business operates in (ex: UTC)' type: string x-nullable: true business_website: description: The website URL type: string x-nullable: true business_zip_code: description: Business address zip code type: string x-nullable: true max_transaction_size_cents: description: The maximum transaction size (USD cents) type: integer phone_number: description: The business phone number type: string x-nullable: true public_business_name: description: The business name that will be displayed to customers type: string x-nullable: true shortened_descriptor: description: '' type: string x-nullable: true statement_descriptor: description: >- The descriptor to be displayed on customer statement should a descriptor not be type: string x-nullable: true active_at: description: >- The date-time when the account was activated (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- Time date-time when the merchant account was created (Date and time in iso8601) type: string format: date-time readOnly: true manual_review_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true pending_at: description: >- The date-time when the merchant account onboarding process was completed and sent for review (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the merchant account was last updated at (Date and time in iso8601) type: string format: date-time readOnly: true relationships: type: object properties: consumer_addresses: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customers: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payouts: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_methods: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true webhook_subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payout_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/consumer_address_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/payout_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/webhook_subscription_attributes' - $ref: '#/components/schemas/payout_method_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string merchant_account_attributes: type: object properties: average_monthly_transaction_volume_cents: description: The average monthly transaction volume (USD cents) type: integer average_transaction_size_cents: description: The average transaction size (USD cents) type: integer business_address: description: Business address line 1 type: string x-nullable: true business_address_line_2: description: Business addess line 2 type: string x-nullable: true business_city_name: description: Business address city type: string x-nullable: true business_country: description: Business address country code (ISO 3166-1 alpha-3) type: string x-nullable: true business_description: description: A short description of the business type: string business_name: description: Business name type: string business_privacy_url: description: The URL for the business privacy policy type: string x-nullable: true business_state: description: Business address state type: string x-nullable: true business_support_email: description: The support email address your customers can use to contact you type: string x-nullable: true business_support_url: description: The URL for the business support page type: string x-nullable: true business_terms_url: description: The URL for the business terms of service type: string x-nullable: true business_timezone: description: 'The timezone which the business operates in (ex: UTC)' type: string x-nullable: true business_website: description: The website URL type: string x-nullable: true business_zip_code: description: Business address zip code type: string x-nullable: true max_transaction_size_cents: description: The maximum transaction size (USD cents) type: integer phone_number: description: The business phone number type: string x-nullable: true public_business_name: description: The business name that will be displayed to customers type: string x-nullable: true shortened_descriptor: description: '' type: string x-nullable: true statement_descriptor: description: >- The descriptor to be displayed on customer statement should a descriptor not be type: string x-nullable: true active_at: description: >- The date-time when the account was activated (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- Time date-time when the merchant account was created (Date and time in iso8601) type: string format: date-time readOnly: true manual_review_at: description: Date and time in iso8601 type: string x-nullable: true format: date-time readOnly: true pending_at: description: >- The date-time when the merchant account onboarding process was completed and sent for review (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the merchant account was last updated at (Date and time in iso8601) type: string format: date-time readOnly: true legal_address: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: city: description: The city type: string x-nullable: true country: description: The country code (ISO 3166-1 alpha-3) type: string x-nullable: true line_1: description: The address line 1 type: string x-nullable: true line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string x-nullable: true zip: description: The postal code type: string x-nullable: true created_at: description: >- Date and time when the legal address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time when the legal address was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the legal address was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: {} links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: [] meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string legal_addresses: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: city: description: The city type: string x-nullable: true country: description: The country code (ISO 3166-1 alpha-3) type: string x-nullable: true line_1: description: The address line 1 type: string x-nullable: true line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string x-nullable: true zip: description: The postal code type: string x-nullable: true created_at: description: >- Date and time when the legal address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time when the legal address was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the legal address was last updated (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: {} links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: [] meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string legal_address_attributes: type: object properties: city: description: The city type: string x-nullable: true country: description: The country code (ISO 3166-1 alpha-3) type: string x-nullable: true line_1: description: The address line 1 type: string x-nullable: true line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string x-nullable: true zip: description: The postal code type: string x-nullable: true created_at: description: Date and time when the legal address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: Date and time when the legal address was discarded (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the legal address was last updated (format iso8601) type: string format: date-time readOnly: true event: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: code: description: 'The event code (ex: customer.created)' type: string payload: description: The event payload (JSON) type: object created_at: description: Date and time when the event was created (format iso8601) type: string format: date-time readOnly: true occurred_at: description: >- Date and time when the event was notified to the configured distination (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the event was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true resource: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string events: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: code: description: 'The event code (ex: customer.created)' type: string payload: description: The event payload (JSON) type: object created_at: description: Date and time when the event was created (format iso8601) type: string format: date-time readOnly: true occurred_at: description: >- Date and time when the event was notified to the configured distination (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the event was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true resource: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string event_attributes: type: object properties: code: description: 'The event code (ex: customer.created)' type: string payload: description: The event payload (JSON) type: object created_at: description: Date and time when the event was created (format iso8601) type: string format: date-time readOnly: true occurred_at: description: >- Date and time when the event was notified to the configured distination (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: Date and time when the event was last updated at (format iso8601) type: string format: date-time readOnly: true customer: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: Description of the customer type: string x-nullable: true email: description: The customers email address type: string name: description: The customers name type: string phone_number: description: The customers phone number type: string x-nullable: true blocked_at: description: >- The date-time when the customer was blocked (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- The date-time when the customer was created (Date and time in iso8601) type: string format: date-time readOnly: true discarded_at: description: >- The date-time when when the customer was discarded (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the customer was last udpated (Date and time in iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_methods: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string customers: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: Description of the customer type: string x-nullable: true email: description: The customers email address type: string name: description: The customers name type: string phone_number: description: The customers phone number type: string x-nullable: true blocked_at: description: >- The date-time when the customer was blocked (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- The date-time when the customer was created (Date and time in iso8601) type: string format: date-time readOnly: true discarded_at: description: >- The date-time when when the customer was discarded (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the customer was last udpated (Date and time in iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true charges: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_methods: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscriptions: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/charge_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string customer_attributes: type: object properties: description: description: Description of the customer type: string x-nullable: true email: description: The customers email address type: string name: description: The customers name type: string phone_number: description: The customers phone number type: string x-nullable: true blocked_at: description: >- The date-time when the customer was blocked (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true created_at: description: >- The date-time when the customer was created (Date and time in iso8601) type: string format: date-time readOnly: true discarded_at: description: >- The date-time when when the customer was discarded (Date and time in iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- The date-time when the customer was last udpated (Date and time in iso8601) type: string format: date-time readOnly: true consumer_address: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: city: description: The city type: string country: description: The country code (ISO 3166-1 alpha-3) type: string line_1: description: The address line 1 type: string line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string zip: description: The postcode type: string created_at: description: >- Date and time when the consumer address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time when the consumer address was discarded at (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the consumer address was last udpated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string consumer_addresses: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: city: description: The city type: string country: description: The country code (ISO 3166-1 alpha-3) type: string line_1: description: The address line 1 type: string line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string zip: description: The postcode type: string created_at: description: >- Date and time when the consumer address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time when the consumer address was discarded at (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the consumer address was last udpated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/merchant_account_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string consumer_address_attributes: type: object properties: city: description: The city type: string country: description: The country code (ISO 3166-1 alpha-3) type: string line_1: description: The address line 1 type: string line_2: description: The address line 2 type: string x-nullable: true state: description: The state type: string zip: description: The postcode type: string created_at: description: Date and time when the consumer address was created (format iso8601) type: string format: date-time readOnly: true discarded_at: description: >- Date and time when the consumer address was discarded at (format iso8601) type: string x-nullable: true format: date-time readOnly: true updated_at: description: >- Date and time when the consumer address was last udpated at (format iso8601) type: string format: date-time readOnly: true charge: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: A description of the charge type: string x-nullable: true amount_cents: description: The charge amount (in cents) type: integer captured: description: >- If the payment was captured (for authorization/completion flow) type: boolean x-nullable: true currency: description: The currency of the charge (ISO 4217) type: string fee_cents: description: The charge fee (in cents) type: integer readOnly: true gateway_fee_cents: description: The gateway fee (in cents) type: integer readOnly: true net_cents: description: The net amount (in cents) type: integer readOnly: true processor_state: description: The state of the charge type: string readOnly: true refund_amount_cents: description: The amount refunded (in cents) type: integer readOnly: true created_at: description: Date and time when the charge was created (foramt iso8601) type: string format: date-time readOnly: true sifted_at: description: >- Date and time when the charge was submitted to Sift for risk scoring (format iso8601) type: string x-nullable: true format: date-time readOnly: true succeeded_at: description: Date and time when the charge succeeded (format iso8601) type: string x-nullable: true format: date-time readOnly: true transaction_time: description: >- Date and time when the charge occurred in the merchants time zone (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the charge was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true billing_address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscription: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true shipping_address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string charges: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: description: description: A description of the charge type: string x-nullable: true amount_cents: description: The charge amount (in cents) type: integer captured: description: >- If the payment was captured (for authorization/completion flow) type: boolean x-nullable: true currency: description: The currency of the charge (ISO 4217) type: string fee_cents: description: The charge fee (in cents) type: integer readOnly: true gateway_fee_cents: description: The gateway fee (in cents) type: integer readOnly: true net_cents: description: The net amount (in cents) type: integer readOnly: true processor_state: description: The state of the charge type: string readOnly: true refund_amount_cents: description: The amount refunded (in cents) type: integer readOnly: true created_at: description: Date and time when the charge was created (foramt iso8601) type: string format: date-time readOnly: true sifted_at: description: >- Date and time when the charge was submitted to Sift for risk scoring (format iso8601) type: string x-nullable: true format: date-time readOnly: true succeeded_at: description: Date and time when the charge succeeded (format iso8601) type: string x-nullable: true format: date-time readOnly: true transaction_time: description: >- Date and time when the charge occurred in the merchants time zone (format iso8601) type: string format: date-time readOnly: true updated_at: description: >- Date and time when the charge was last updated at (format iso8601) type: string format: date-time readOnly: true relationships: type: object properties: published_events: type: object properties: data: type: array items: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true merchant_account: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true billing_address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true subscription: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true shipping_address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: - $ref: '#/components/schemas/event_attributes' - $ref: '#/components/schemas/merchant_account_attributes' - $ref: '#/components/schemas/customer_attributes' - $ref: '#/components/schemas/payment_method_attributes' - $ref: '#/components/schemas/subscription_attributes' - $ref: '#/components/schemas/consumer_address_attributes' meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string charge_attributes: type: object properties: description: description: A description of the charge type: string x-nullable: true amount_cents: description: The charge amount (in cents) type: integer captured: description: If the payment was captured (for authorization/completion flow) type: boolean x-nullable: true currency: description: The currency of the charge (ISO 4217) type: string fee_cents: description: The charge fee (in cents) type: integer readOnly: true gateway_fee_cents: description: The gateway fee (in cents) type: integer readOnly: true net_cents: description: The net amount (in cents) type: integer readOnly: true processor_state: description: The state of the charge type: string readOnly: true refund_amount_cents: description: The amount refunded (in cents) type: integer readOnly: true created_at: description: Date and time when the charge was created (foramt iso8601) type: string format: date-time readOnly: true sifted_at: description: >- Date and time when the charge was submitted to Sift for risk scoring (format iso8601) type: string x-nullable: true format: date-time readOnly: true succeeded_at: description: Date and time when the charge succeeded (format iso8601) type: string x-nullable: true format: date-time readOnly: true transaction_time: description: >- Date and time when the charge occurred in the merchants time zone (format iso8601) type: string format: date-time readOnly: true updated_at: description: Date and time when the charge was last updated at (format iso8601) type: string format: date-time readOnly: true attachment: type: object required: - data properties: data: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: name: description: Attachment name type: string created_at: description: Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: record: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: [] meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string attachments: type: object required: - data properties: links: type: object properties: self: type: string format: uri first: type: string format: uri previous: type: string format: uri next: type: string format: uri last: type: string format: uri data: type: array items: type: object required: - id - type - links properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: true example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true attributes: type: object properties: name: description: Attachment name type: string created_at: description: Date and time in iso8601 type: string format: date-time readOnly: true relationships: type: object properties: record: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true links: type: object required: - self properties: self: type: string format: uri included: type: array items: anyOf: [] meta: type: object required: - copyright - authors properties: copyright: type: string authors: type: array items: type: string attachment_attributes: type: object properties: name: description: Attachment name type: string created_at: description: Date and time in iso8601 type: string format: date-time readOnly: true ChargesCreateNewChargeRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - amount_cents - captured - currency - description properties: description: type: string amount_cents: type: integer captured: type: boolean currency: type: string relationships: type: object required: - customer - payment_method - shipping_address properties: customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true shipping_address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true ConsumerAddressesCreateNewAddressRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - city - country - line_1 - line_2 - state - zip properties: city: type: string country: type: string line_1: type: string line_2: type: string state: type: string zip: type: string CustomersCreateNewCustomerRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - description - email - name - phone_number properties: description: type: string email: type: string name: type: string phone_number: type: string CustomersUpdateExistingCustomerRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - description - email - name - phone_number properties: description: type: string email: type: string name: type: string phone_number: type: string LegalAddressesCreateNewRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - city - country - line_1 - line_2 - state - zip properties: city: type: string country: type: string line_1: type: string line_2: type: string state: type: string zip: type: string LegalAddressesUpdateExistingAddressRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - city - country - line_1 - line_2 - state - zip properties: city: type: string country: type: string line_1: type: string line_2: type: string state: type: string zip: type: string MerchantAccountsUpdateExistingAccountRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - average_monthly_transaction_volume_cents - average_transaction_size_cents - business_address - business_address_line_2 - business_city_name - business_country - business_description - business_name - business_privacy_url - business_state - business_support_email - business_support_url - business_terms_url - business_timezone - business_website - business_zip_code - max_transaction_size_cents - phone_number - public_business_name - shortened_descriptor - statement_descriptor properties: average_monthly_transaction_volume_cents: type: integer average_transaction_size_cents: type: integer business_address: type: string business_address_line_2: type: string business_city_name: type: string business_country: type: string business_description: type: string business_name: type: string business_privacy_url: type: string business_state: type: string business_support_email: type: string business_support_url: type: string business_terms_url: type: string business_timezone: type: string business_website: type: string business_zip_code: type: string max_transaction_size_cents: type: integer phone_number: type: string public_business_name: type: string shortened_descriptor: type: string statement_descriptor: type: string PaymentMethodsCreateNewMethodRequest: type: object required: - data properties: data: type: object required: - attributes - relationships properties: attributes: type: object required: - card_cvv_token - card_pan_token - description - name - expiry_month - expiry_year properties: description: type: string card_cvv_token: type: string card_pan_token: type: string name: type: string expiry_month: type: integer expiry_year: type: integer relationships: type: object required: - customer - address properties: customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true address: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true PayoutMethodsCreateNewRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - account_number - account_type - institution_name - payout_method_type - routing_number properties: account_number: type: string account_type: type: string institution_name: type: string payout_method_type: type: string routing_number: type: string PayoutsCreateNewPayoutRequest: type: object required: - data properties: data: type: object required: - relationships properties: attributes: type: object required: [] properties: {} relationships: type: object required: - payout_method properties: payout_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true SubscriptionsCreateNewRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - amount_cents - amount_currency - billing_period - description - next_billing_day - status properties: description: type: string amount_cents: type: integer amount_currency: type: string billing_period: type: string next_billing_day: type: integer status: type: string relationships: type: object required: - customer - payment_method properties: customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true SubscriptionsUpdateExistingSubscriptionRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - amount_cents - amount_currency - billing_period - description properties: description: type: string amount_cents: type: integer amount_currency: type: string billing_period: type: string relationships: type: object properties: customer: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true payment_method: type: object properties: data: type: object required: - id - type properties: id: description: A UUID that identifies an object type: string format: uuid readOnly: false example: 32e46c03-a4e1-53e7-93e4-936fad0196a1 type: description: The kind of resource type: string readOnly: true UsersUpdateUserDetailsRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - accepts_terms - account_status - email - first_name - job_title - last_name - phone_number properties: accepts_terms: type: boolean account_status: type: string email: type: string first_name: type: string job_title: type: string last_name: type: string phone_number: type: string WebhookSubscriptionsCreateNewSubscriptionRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - active - concurrency_limit - description - events - secret_key - url properties: description: type: string active: type: boolean concurrency_limit: type: integer events: type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. secret_key: type: string url: type: string WebhookSubscriptionsUpdateExistingSubscriptionRequest: type: object required: - data properties: data: type: object required: - attributes properties: attributes: type: object required: - active - concurrency_limit - description - events - secret_key - url properties: description: type: string active: type: boolean concurrency_limit: type: integer events: type: array items: description: >- WARNING: Missing items property in array schema. Missing items property has been filled with this AnyType schema. secret_key: type: string url: type: string x-readme: headers: - key: User-Agent value: Edge Client v1 x-tagGroups: - tags: - Authentication - Edge.js - Merchant Accounts name: Overview - tags: - Charges - Refunds - Subscriptions - Payment Methods - Payout Methods - Payouts name: Transactions - tags: - Customers - Consumer Addresses - Legal Addresses name: CRM - tags: - Attachments - Webhook Subscriptions - Events name: Metadata