Download OpenAPI specification:Download
Edge Payment Technologies offers payment solutions for merchants in diverse legal industries. To learn more about Edge's proposition see our about page.
Before starting with the API, you must create a merchant account and obtain API keys from the Developer tab in your account dashboard. You will use the “Publishable key” with Edge JavaScript SDK and the “Secret key” on your website.
The Edge API is based upon REST principles, returns JSON responses, and uses standard HTTP response codes. We speficially use the JSON:API specification.
If 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:
<script
src="https://assets.tryedge.io/assets/edge-028df78616a38778a73b92faac46bd2d5b1d4f3734f2902cc7d8548a0b7ffa4d.js"
type="text/javascript"></script>
Then after that you need to initialize the client:
const edge = new Edge('<Publishable Key>');
edge.initializeForm().then(function (form) {
// Form configuration
});
The Edge API relies on authentication via public and secret keys:
To authenticate a request set the Authorization
header to Bearer <YOUR_TOKEN_HERE>
.
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.
Edge 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.
Pass the id of the element in which the iFrame should be embedded, for example:
// form.inputs(id: String, settings: Object);
form.inputs('card-details', {
theme: 'material'
});
Inputs 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 <input>
within the container.
Parameter | Type | Description |
---|---|---|
theme | String | The base styling for Inputs. Currently supports default, minimal and material. |
height | String | The height of the Evervault Inputs iframe. |
primaryColor | String | The main theme color. |
labelColor | String | The color CSS property applied to the input labels. |
inputBorderColor | String | The border-color CSS property applied to inputs. |
inputTextColor | String | The color CSS property applied to inputs. |
inputBackgroundColor | String | The color CSS property applied to the ::placeholder CSS pseudo-element for inputs. |
inputBorderRadius | String | The border-radius CSS property applied to inputs. |
inputHeight | String | The height CSS property applied to inputs. |
cardNumberLabel | String | The label for the card number input |
expirationDateLabel | String | The label for the expiration date input |
securityCodeLabel | String | The label for the security code input |
expirationDatePlaceholder | String | The placeholder shown for the expiration date input |
invalidCardNumberLabel | String | The message shown on an invalid card number |
invalidExpirationDateLabel | String | The message shown on an invalid expiration date |
invalidSecurityCodeLabel | String | The message shown on an invalid security code |
fontUrl | String | Load a custom font with the Google Fonts API |
fontFamily | String | Set the font-family for the fontUrl |
inputFontSize | String | Set the font-size property of the input attribute |
inputBoxShadow | String | Set the box-shadow property of the input attribute |
labelFontSize | String | Set the font-size property of the label attribute |
labelWeight | String | Set the font-weight property of the label attribute |
disableCVV | Boolean | If true the CVV field will not be displayed |
Set theme
to default
to use the Default theme for Inputs.
Set theme
to minimal
to use the Minimal theme for Inputs.
Set theme
to material
to use the Material theme for Inputs.
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.
Lists all Merchant Accounts
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "consumer_addresses": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customers": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "webhook_subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Merchant Account
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "consumer_addresses": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customers": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "webhook_subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Updates an existing Merchant Account
required | object |
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "attributes": {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "consumer_addresses": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customers": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "webhook_subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
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 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.
TOOD
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
Lists all Charges
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "billing_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "subscription": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "shipping_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Charge
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}, - "shipping_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "billing_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "subscription": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "shipping_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Charge
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "billing_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "subscription": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "shipping_address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
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.
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.
Lists all Subscriptions
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "weekly",
- "description": "string",
- "next_billing_day": 0,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24",
- "next_billing": "2019-08-24",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Subscription
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "string",
- "description": "string",
- "next_billing_day": 0,
- "status": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "weekly",
- "description": "string",
- "next_billing_day": 0,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24",
- "next_billing": "2019-08-24",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Subscription
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "weekly",
- "description": "string",
- "next_billing_day": 0,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24",
- "next_billing": "2019-08-24",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Updates an existing Subscription
required | object |
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "string",
- "description": "string"
}, - "relationships": {
- "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "billing_period": "weekly",
- "description": "string",
- "next_billing_day": 0,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24",
- "next_billing": "2019-08-24",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "payment_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Lists all Payment Methods
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "card_bin": "string",
- "card_cvv_token": "string",
- "card_last_four": "string",
- "card_pan_token": "string",
- "description": "string",
- "external_state": "string",
- "kind": "visa",
- "name": "string",
- "expiry_month": 0,
- "expiry_year": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Payment Method
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "card_cvv_token": "string",
- "card_pan_token": "string",
- "description": "string",
- "name": "string",
- "expiry_month": 0,
- "expiry_year": 0
}, - "relationships": {
- "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "card_bin": "string",
- "card_cvv_token": "string",
- "card_last_four": "string",
- "card_pan_token": "string",
- "description": "string",
- "external_state": "string",
- "kind": "visa",
- "name": "string",
- "expiry_month": 0,
- "expiry_year": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Payment Method
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "card_bin": "string",
- "card_cvv_token": "string",
- "card_last_four": "string",
- "card_pan_token": "string",
- "description": "string",
- "external_state": "string",
- "kind": "visa",
- "name": "string",
- "expiry_month": 0,
- "expiry_year": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "customer": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "amount_cents": 0,
- "captured": true,
- "currency": "string",
- "description": "string",
- "fee_cents": 0,
- "gateway_fee_cents": 0,
- "net_cents": 0,
- "processor_state": "string",
- "refund_amount_cents": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "sifted_at": "2019-08-24T14:15:22Z",
- "succeeded_at": "2019-08-24T14:15:22Z",
- "transaction_time": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
PayoutMethod
lets you link your bank account with Edge to receive payouts. Edge handles payouts through ACH and supports checking and savings accounts.
Currently, there are no events triggered during the lifecycle of payouts.
Lists all Payout Methods
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Payout Method
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "account_number": "string",
- "account_type": "string",
- "institution_name": "string",
- "payout_method_type": "string",
- "routing_number": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Payout Method
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payouts": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Lists all Payouts
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Payout
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": { },
- "relationships": {
- "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1"
}
}
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Payout
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "amount_cents": 0,
- "amount_currency": "string",
- "fee_cents": 0,
- "fee_currency": "string",
- "net_amount_cents": 0,
- "net_amount_currency": "string",
- "processor_state": "pending",
- "transfer_credit_type": "ach-credit-standard",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "payout_method": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "account_number": "string",
- "account_type": "checking",
- "institution_name": "string",
- "payout_method_type": "ach",
- "routing_number": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "verified_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Lists all Customers
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string",
- "blocked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Customer
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string",
- "blocked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Customer
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string",
- "blocked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Updates an existing Customer
required | object |
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "description": "string",
- "email": "string",
- "name": "string",
- "phone_number": "string",
- "blocked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "charges": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "payment_methods": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "subscriptions": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "address": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
ConsumerAddress
represents a physical address related to a customer, a charge (as a shipping address) or a payment method (as a billing address).
ConsumerAddresses
are scoped to your current mode (sandbox
or live
) denoted by the API Key.
Lists all Consumer Addresses
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Consumer Address
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Consumer Address
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
LegalAddress
represents a physical address associated with the merchant account opener and the beneficial owners.
Unlike its counterpart ConsumerAddress
LegalAddress
are not scoped to modes sandbox
or live
.
Lists all Legal Addresses
filtered by zip
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": { },
}
], - "included": [
- null
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Legal Address
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": { },
}, - "included": [
- null
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Legal Address
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": { },
}, - "included": [
- null
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Updates an existing Legal Address
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "city": "string",
- "country": "string",
- "line_1": "string",
- "line_2": "string",
- "state": "string",
- "zip": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "discarded_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": { },
}, - "included": [
- null
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Shows an individual Attachment
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "record": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- null
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Lists all Webhook Subscriptions
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Creates an new Webhook Subscription
required | object |
Created
Unauthorized
Forbidden
Not Acceptable
Unsupported Media Type
Unprocessible Entity
{- "data": {
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Webhook Subscription
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Updates an existing Webhook Subscription
required | object |
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string"
}
}
}
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Destroys an existing Webhook Subscription
OK
Unauthorized
Forbidden
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "active": true,
- "concurrency_limit": 0,
- "description": "string",
- "events": [ ],
- "secret_key": "string",
- "url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "published_events": {
- "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
]
}, - "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
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.
Lists all Events
OK
Unauthorized
Forbidden
Not Acceptable
{- "links": {
}, - "data": [
- {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "resource": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}
], - "included": [
- {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}
Shows an individual Event
OK
Unauthorized
Not Found
Not Acceptable
{- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string",
- "attributes": {
- "code": "string",
- "payload": { },
- "created_at": "2019-08-24T14:15:22Z",
- "occurred_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "relationships": {
- "merchant_account": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}, - "resource": {
- "data": {
- "id": "32e46c03-a4e1-53e7-93e4-936fad0196a1",
- "type": "string"
}
}
},
}, - "included": [
- {
- "average_monthly_transaction_volume_cents": 0,
- "average_transaction_size_cents": 0,
- "business_address": "string",
- "business_address_line_2": "string",
- "business_city_name": "string",
- "business_country": "string",
- "business_description": "string",
- "business_name": "string",
- "business_privacy_url": "string",
- "business_state": "string",
- "business_support_email": "string",
- "business_support_url": "string",
- "business_terms_url": "string",
- "business_timezone": "string",
- "business_website": "string",
- "business_zip_code": "string",
- "max_transaction_size_cents": 0,
- "phone_number": "string",
- "public_business_name": "string",
- "shortened_descriptor": "string",
- "statement_descriptor": "string",
- "active_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "manual_review_at": "2019-08-24T14:15:22Z",
- "pending_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "meta": {
- "copyright": "string",
- "authors": [
- "string"
]
}
}