Download OpenAPI specification:Download
This is the Splitti Universal API version
V1 defines the specification of a set of core APIs for Splitti Universal and includes all current endpoints, request and response objects, description of their properties and possible error responses.
It is intended that programs written to the V1 specification will continue to run correctly, unchanged, over the lifetime of the specification. At some indefinite point a V2 specification may arise, but until that time, programs that work today should continue to work even as future "point" releases of V1 arise (V1.1, V1.2 etc)
The APIs may grow, acquiring new paths/endpoints and features, add new optional request parameters and add response parameters but not in a way that breaks existing code.
There is a rare exception but In the case of changes required by new government regulations or changes otherwise outside the purview of Splitti our systems will detect active users of the previous API and facilitate migration to an updated API during a grace period. Any breaking changes will be communicated explicitly with all users and with follow-ups as required on a case by case basis.
Security Scheme Type | OAuth2 |
---|---|
implicit OAuth Flow | Authorization URL: http://petstore.swagger.io/oauth/dialog Scopes:
|
universal.account
universal.account.read
) Returns a list of country specs.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "defaultCurrency": "EUR",
- "supportedBankAccountCurrencies": [
- "EUR"
], - "supportedPaymentCurrencies": [
- "EUR"
]
}
], - "hasMore": false,
}
universal.platform.read
universal.account.read
) countryCode required | string 2 characters Example: IS Two-letter country code (ISO 3166-1 alpha-2). |
Returns a list of country specs.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "defaultCurrency": "EUR",
- "supportedBankAccountCurrencies": [
- "EUR"
], - "supportedPaymentCurrencies": [
- "EUR"
]
}
universal.account
universal.account.read
) Returns an Account if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "capabilities": {
- "cardPayments": "active",
- "alipayPayments": "active",
- "wechatPayments": "active"
}, - "chargesEnabled": false,
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "detailsSubmitted": false,
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "payoutsEnabled": false,
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
universal.account
) Returns an Account if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "capabilities": {
- "cardPayments": "active",
- "alipayPayments": "active",
- "wechatPayments": "active"
}, - "chargesEnabled": false,
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "detailsSubmitted": false,
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "payoutsEnabled": false,
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
A dispute occurs when a customer questions your charge with their card issuer. When this happens, you're given the opportunity to respond to the dispute with evidence that shows that the charge is legitimate.
universal.payment.dispute
universal.payment.dispute.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of payment disputes if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": true,
- "url": "string"
}
To upload a file to Splitti Universal, you’ll need to send a request of type multipart/form-data. The request should contain the file you would like to upload, as well as the parameters for creating a file.
universal.files
) file required | string <binary> |
purpose required | string (FilePurpose) Enum: "additionalVerification" "businessIcon" "businessLogo" "customerSignature" "disputeEvidence" "financeReportRun" "identityDocument" "pciDocument" "taxDocumentUserUpload" The purpose of the file. |
Returns a File object if everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "filename": "string",
- "purpose": "additionalVerification",
- "size": 0,
- "title": "string",
- "type": "string",
}
universal.files
universal.files.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of files if everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "filename": "string",
- "purpose": "additionalVerification",
- "size": 0,
- "title": "string",
- "type": "string",
}
], - "hasMore": false,
}
universal.files
universal.files.read
) fileId required | string |
Returns a File and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested File doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "filename": "string",
- "purpose": "additionalVerification",
- "size": 0,
- "title": "string",
- "type": "string",
}
universal.payment.intent
) Parameters for an PaymentIntent object.
amount required | string <decimal> (Amount) [ 1 .. 9 ] characters |
currency required | string (Currency) 3 characters Three-letter ISO currency code, in lowercase. Must be a supported currency. |
confirm | boolean Default: false |
customer | string |
description | string |
paymentMethodTypes | Array of strings (PaymentMethodType) Default: ["card"] Items Enum: "card" "alipay" "wechat" |
receiptEmail | string <email> |
statementDescriptor | string <= 22 characters |
statementDescriptorSuffix | string <= 22 characters |
captureMethod | string (CaptureMethod) Default: "automatic" Enum: "automatic" "manual" |
confirmationMethod | string (ConfirmationMethod) Default: "automatic" Enum: "automatic" "manual" |
Payment intent created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "amount": "43.21",
- "currency": "EUR",
- "confirm": false,
- "customer": "string",
- "description": "string",
- "paymentMethodTypes": [
- "card"
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
universal.payment.intent
universal.payment.intent.read
) customer | string Only return PaymentIntents for the customer specified by this ID. |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of payment intents if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
], - "hasMore": false,
- "url": "string"
}
universal.payment.intent
) intentId required | string 11 characters Example: WYTAdDJ75vk |
Updated parameters for an PaymentIntent object.
amount | string <decimal> (Amount) [ 1 .. 9 ] characters |
currency | string (Currency) 3 characters Three-letter ISO currency code, in lowercase. Must be a supported currency. |
confirm | boolean Default: false |
customer | string |
description | string |
paymentMethodTypes | Array of strings (PaymentMethodType) Default: ["card"] Items Enum: "card" "alipay" "wechat" |
receiptEmail | string <email> |
statementDescriptor | string <= 22 characters |
statementDescriptorSuffix | string <= 22 characters |
captureMethod | string (CaptureMethod) Default: "automatic" Enum: "automatic" "manual" |
confirmationMethod | string (ConfirmationMethod) Default: "automatic" Enum: "automatic" "manual" |
Payment intent successfully updated and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "amount": "43.21",
- "currency": "EUR",
- "confirm": false,
- "customer": "string",
- "description": "string",
- "paymentMethodTypes": [
- "card"
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
Retrieve a payment intent.
universal.payment.intent
) intentId required | string 11 characters Example: WYTAdDJ75vk |
clientSecret | string |
Returns a PaymentIntent object with status=succeeded if the PaymentIntent was capturable and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
universal.payment.intent
) intentId required | string 11 characters Example: WYTAdDJ75vk |
reason | string (PaymentIntentCancellationReason) Enum: "duplicate" "fraudulent" "requestedByCustomer" "abandoned" "failedInvoice" "voidInvoice" "automatic" |
Returns a PaymentIntent object with status=cancelled if the cancellation succeeded and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "reason": "duplicate"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
Capture the funds of an existing uncaptured PaymentIntent when its status is requiresCapture.
Uncaptured PaymentIntents will generally be canceled seven days after they are created.
universal.payment.intent
) intentId required | string 11 characters Example: WYTAdDJ75vk |
amountToCapture | string <decimal> (Amount) [ 1 .. 9 ] characters |
Returns a PaymentIntent object with status=succeeded if the PaymentIntent was capturable and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "amountToCapture": "43.21"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
universal.payment.intent
) intentId required | string 11 characters Example: WYTAdDJ75vk |
Payment was successfully confirmed and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "amountCapturable": "43.21",
- "amountReceived": "43.21",
- "currency": "EUR",
- "charges": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}, - "clientSecret": "string",
- "customer": "string",
- "description": "string",
- "lastPaymentError": {
- "type": "apiConnectionError",
- "code": "string",
- "charge": "string",
- "declineCode": "string",
- "message": "string",
- "param": "string",
- "paymentIntent": "string",
- "paymentMethod": "string"
}, - "nextAction": {
- "data": "string"
}, - "paymentMethod": "string",
- "paymentMethodTypes": [
- "card"
], - "availablePaymentMethods": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "receiptEmail": "user@example.com",
- "statementDescriptor": "string",
- "statementDescriptorSuffix": "string",
- "status": "requiresPaymentMethod",
- "canceledAt": "2020-03-25T06:20:45Z",
- "cancelationReason": "duplicate",
- "captureMethod": "automatic",
- "confirmationMethod": "automatic",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "receiptNumber": "string",
- "refunded": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
}
universal.payment.method
) type required | string (PaymentMethodType) Enum: "card" "alipay" "wechat" |
card | object (NewCardPaymentMethodParams) |
alipay | object (NewAlipayPaymentMethodParams) |
wechatpay | object (NewWechatPayPaymentMethodParams) |
Returns a new payment method if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "type": "card",
- "card": {
- "token": "string",
- "number": "string",
- "expMonth": "01",
- "expYear": "stri",
- "cvc": "stri"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
universal.payment.method
universal.payment.method.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string (ID) 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of payment methods if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}
universal.payment.method
universal.payment.method.read
) paymentMethodId required | string |
Returns thepayment method if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentMethod doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
universal.payment.method
universal.payment.method.read
) paymentMethodId required | string |
card | object (CardPaymentMethodParams) |
alipay | object (AlipayPaymentMethodParams) |
wechatpay | object (WechatPayPaymentMethodParams) |
Returns the updated payment method if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentMethod doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "card": {
- "token": "string",
- "number": "string",
- "expMonth": "01",
- "expYear": "stri",
- "cvc": "stri"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "type": "card",
- "card": {
- "brand": "string",
- "expMonth": "01",
- "expYear": "stri",
- "last4": "stri",
- "funding": "prepaid",
- "wallet": "string"
}, - "alipay": {
- "id": "WYTAdDJ75vk"
}, - "wechatpay": {
- "id": "WYTAdDJ75vk"
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
universal.account
universal.account.read
) Returns a list of country specs.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "defaultCurrency": "EUR",
- "supportedBankAccountCurrencies": [
- "EUR"
], - "supportedPaymentCurrencies": [
- "EUR"
]
}
], - "hasMore": false,
}
universal.platform.read
universal.account.read
) countryCode required | string 2 characters Example: IS Two-letter country code (ISO 3166-1 alpha-2). |
Returns a list of country specs.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "defaultCurrency": "EUR",
- "supportedBankAccountCurrencies": [
- "EUR"
], - "supportedPaymentCurrencies": [
- "EUR"
]
}
universal.platform.accounts
universal.platform.accounts.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of Accounts if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "capabilities": {
- "cardPayments": "active",
- "alipayPayments": "active",
- "wechatPayments": "active"
}, - "chargesEnabled": false,
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "detailsSubmitted": false,
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "payoutsEnabled": false,
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
], - "hasMore": false,
}
universal.platform.accounts
) Returns an Account if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
universal.platform.accounts
universal.platform.accounts.read
) accountId required | string |
Returns an Accounts if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested Account doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "capabilities": {
- "cardPayments": "active",
- "alipayPayments": "active",
- "wechatPayments": "active"
}, - "chargesEnabled": false,
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "detailsSubmitted": false,
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "payoutsEnabled": false,
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
universal.platform.accounts
) accountId required | string |
Returns an Accounts if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "country": "IS",
- "businessProfile": {
- "mcc": "stri",
- "name": "Superstore (tm)",
- "productDescription": "string",
- "supportAddress": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "supportEmail": "user@example.com",
- "supportPhone": "string",
}, - "businessType": "individual",
- "capabilities": {
- "cardPayments": "active",
- "alipayPayments": "active",
- "wechatPayments": "active"
}, - "chargesEnabled": false,
- "company": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "directorsProvided": false,
- "executivesProvided": false,
- "name": "Example inc",
- "ownersProvided": false,
- "phone": "+324 1234567",
- "taxId": "WYTAdDJ75vk",
- "vatId": "WYTAdDJ75vk"
}, - "defaultCurrency": "EUR",
- "detailsSubmitted": false,
- "email": "user@example.com",
- "requestedCapabilities": [
- "string"
], - "individual": {
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "John",
- "maidenName": "string",
- "lastName": "Doe",
- "gender": "male",
- "idNumber": "string",
- "verification.document": {
- "back": "string",
- "front": "string"
}
}, - "payoutsEnabled": false,
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "settings": {
- "branding": {
- "icon": "string",
- "logo": "string",
- "primaryColor": "string"
}, - "cardPayments": {
- "declineOn": {
- "avsFailure": true,
- "cvcFailure": true
}, - "statementDescriptorPrefix": "string"
}, - "dashboard": {
- "displayName": "My Company Account",
- "timezone": "Atlantic/Reykjavik"
}, - "payments": {
- "statementDescriptor": "string"
}, - "payouts": {
- "schedule": {
- "delayDays": 0,
- "interval": "manual"
}, - "statementDescriptor": "string"
}
}
}
universal.terminal.reader
) accountId required | string |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of Accounts bank accounts if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "bankName": "string",
- "country": "IS",
- "currency": "EUR",
- "defaultForCurrency": true,
- "accountNumber": "string",
- "last4": "string",
- "routingNumber": "string",
- "status": "new",
- "accountHolderName": "string",
- "accountHolderType": "individual"
}
], - "hasMore": false,
}
accountId required | string |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of persons associated with an account. and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "account": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "string",
- "maidenName": "string",
- "lastName": "string",
- "gender": "male",
- "idNumberProvided": false,
- "idNumber": "string",
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "relationship": {
- "director": false,
- "executive": false,
- "owner": false,
- "percentOwnership": "0",
- "representative": false,
- "title": "string"
}, - "verification": {
- "additionalDocument": {
- "back": "string",
- "front": "string"
}, - "details": "string",
- "detailsCode": "documentAddressMismatch",
- "status": "pending"
}
}
], - "hasMore": false,
}
accountId required | string |
personId required | string |
Returns a list of persons associated with an account. and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "account": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "string",
- "maidenName": "string",
- "lastName": "string",
- "gender": "male",
- "idNumberProvided": false,
- "idNumber": "string",
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:45Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "relationship": {
- "director": false,
- "executive": false,
- "owner": false,
- "percentOwnership": "0",
- "representative": false,
- "title": "string"
}, - "verification": {
- "additionalDocument": {
- "back": "string",
- "front": "string"
}, - "details": "string",
- "detailsCode": "documentAddressMismatch",
- "status": "pending"
}
}
Creates a new TerminalReader object.
universal.terminal.reader
) Parameters for a new TerminalReader object.
name | string A name for the terminal reader. |
location | string The location to assign the reader to. If no location is specified, the reader will be assigned to the account’s default location. |
publicKey required | string A public key used to verify digital signatures and identify the TerminalReader. |
Returns a TerminalReader if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "name": "string",
- "location": "string",
- "publicKey": "string"
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "status": "offline",
- "publicKey": "string",
- "location": "string"
}
universal.terminal.reader
universal.terminal.reader.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Terminal Readers successfully returned and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
[- {
- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "status": "offline",
- "publicKey": "string",
- "location": "string"
}
], - "hasMore": false,
}
]
universal.terminal.reader
universal.terminal.reader.read
) readerId required | string |
Terminal Reader successfully returned and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested Terminal Reader doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "status": "offline",
- "publicKey": "string",
- "location": "string"
}
universal.terminal.reader
) readerId required | string |
Updates a TerminalReader by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
name | string A name for the terminal reader. |
location | string The location to assign the reader to. If no location is specified, the reader will be assigned to the account’s default location. |
publicKey | string A public key used to verify digital signatures and identify the TerminalReader. |
Returns an updated TerminalReader and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested Terminal Reader doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "name": "string",
- "location": "string",
- "publicKey": "string"
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "status": "offline",
- "publicKey": "string",
- "location": "string"
}
universal.terminal.reader
) readerId required | string |
Terminal Reader successfully deleted and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested TerminalReader doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "status": "offline",
- "publicKey": "string",
- "location": "string"
}
Creates a new TerminalLocation object.
universal.terminal.location
) Parameters for a new TerminalLocation object.
name | string |
address | object (Address) |
Returns a TerminalLocation if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
Returns a list of TerminalLocation objects.
universal.terminal.location
universal.terminal.location.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of TerminalLocation if everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
[- {
- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
], - "hasMore": false,
}
]
universal.terminal.location
universal.terminal.location.read
) locationId required | string |
Terminal Location successfully returned and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested TerminalLocation doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
Updates a TerminalLocation by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
universal.terminal.location
) locationId required | string |
Parameters to update for the TerminalLocation. Any parameters not provided will be left unchanged.
name | string |
address | object (Address) |
Returns an updated terminal location successfully returned and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested TerminalLocation doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
universal.terminal.location
) locationId required | string |
Returns the deleted terminal location and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested TerminalLocation doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "name": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}
}
A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created
universal.webhooks
) url required | string <uri> |
enabledEvents required | Array of strings (EventCode) Items Enum: "universal.account.updated" "universal.account.application.authorized" "universal.account.application.deauthorized" "universal.account.external_account.created" "universal.account.external_account.deleted" "universal.account.external_account.updated" "universal.application_fee.created" "universal.application_fee.refunded" "universal.application_fee.refund.updated" "universal.balance.available" "universal.capability.updated" "universal.charge.captured" "universal.charge.expired" "universal.charge.failed" "universal.charge.pending" "universal.charge.refunded" "universal.charge.succeeded" "universal.charge.updated" "universal.charge.dispute.closed" "universal.charge.dispute.created" "universal.charge.dispute.funds_reinstated" "universal.charge.dispute.funds_withdrawn" "universal.charge.dispute.updated" "universal.charge.refund.updated" "universal.checkout.session.completed" "universal.customer.created" "universal.customer.deleted" "universal.customer.updated" "universal.customer.source.created" "universal.customer.source.deleted" "universal.customer.source.expiring" "universal.customer.source.updated" "universal.customer.tax_id.created" "universal.customer.tax_id.deleted" "universal.customer.tax_id.updated" "universal.file.created" "universal.payment_intent.amount_capturable_updated" "universal.payment_intent.canceled" "universal.payment_intent.created" "universal.payment_intent.payment_failed" "universal.payment_intent.succeeded" "universal.payment_method.attached" "universal.payment_method.card_automatically_updated" "universal.payment_method.detached" "universal.payment_method.updated" "universal.payout.canceled" "universal.payout.created" "universal.payout.failed" "universal.payout.paid" "universal.payout.updated" "universal.person.created" "universal.person.deleted" "universal.person.updated" "universal.setup_intent.canceled" "universal.setup_intent.created" "universal.setup_intent.setup_failed" "universal.setup_intent.succeeded" "all" |
Returns a Webhook if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "enabledEvents": [
- "universal.account.updated"
]
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "enabledEvents": [
- "universal.account.updated"
], - "status": "enabled",
}
universal.webhooks
universal.webhooks.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of Webhooks associated with the account.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
[- {
- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "enabledEvents": [
- "universal.account.updated"
], - "status": "enabled",
}
], - "hasMore": false,
}
]
universal.webhooks
) webhookId required | string |
url | string <uri> |
enabledEvents | Array of strings (EventCode) Items Enum: "universal.account.updated" "universal.account.application.authorized" "universal.account.application.deauthorized" "universal.account.external_account.created" "universal.account.external_account.deleted" "universal.account.external_account.updated" "universal.application_fee.created" "universal.application_fee.refunded" "universal.application_fee.refund.updated" "universal.balance.available" "universal.capability.updated" "universal.charge.captured" "universal.charge.expired" "universal.charge.failed" "universal.charge.pending" "universal.charge.refunded" "universal.charge.succeeded" "universal.charge.updated" "universal.charge.dispute.closed" "universal.charge.dispute.created" "universal.charge.dispute.funds_reinstated" "universal.charge.dispute.funds_withdrawn" "universal.charge.dispute.updated" "universal.charge.refund.updated" "universal.checkout.session.completed" "universal.customer.created" "universal.customer.deleted" "universal.customer.updated" "universal.customer.source.created" "universal.customer.source.deleted" "universal.customer.source.expiring" "universal.customer.source.updated" "universal.customer.tax_id.created" "universal.customer.tax_id.deleted" "universal.customer.tax_id.updated" "universal.file.created" "universal.payment_intent.amount_capturable_updated" "universal.payment_intent.canceled" "universal.payment_intent.created" "universal.payment_intent.payment_failed" "universal.payment_intent.succeeded" "universal.payment_method.attached" "universal.payment_method.card_automatically_updated" "universal.payment_method.detached" "universal.payment_method.updated" "universal.payout.canceled" "universal.payout.created" "universal.payout.failed" "universal.payout.paid" "universal.payout.updated" "universal.person.created" "universal.person.deleted" "universal.person.updated" "universal.setup_intent.canceled" "universal.setup_intent.created" "universal.setup_intent.setup_failed" "universal.setup_intent.succeeded" "all" |
Returns a Webhook if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "enabledEvents": [
- "universal.account.updated"
]
}
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "enabledEvents": [
- "universal.account.updated"
], - "status": "enabled",
}
universal.webhooks
universal.webhooks.read
) webhookId required | string |
Returns a Webhook if exists.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "enabledEvents": [
- "universal.account.updated"
], - "status": "enabled",
}
universal.webhooks
) webhookId required | string |
Returns the deleted Webhook if successful.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "enabledEvents": [
- "universal.account.updated"
], - "status": "enabled",
}
universal.payment.charges
universal.payment.charges.read
) paymentIntent | string Payment Intent ID |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of charges if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
], - "hasMore": false,
}
universal.payment.charges
universal.payment.charges.read
) chargeId required | string |
Returns a list of charges if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "amount": "43.21",
- "currency": "EUR",
- "customer": "string",
- "invoice": "string",
- "description": "string",
- "amountRefunded": "43.21",
- "application": "string",
- "applicationFee": "string",
- "applicationFeeAmount": "43.21",
- "captured": false,
- "paymentIntent": "string",
- "disputed": false,
- "refunds": {
- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z"
}
], - "hasMore": false,
}, - "created": "2020-03-25T06:20:45Z",
- "updated": "2020-03-25T06:20:45Z",
- "outcome": {
- "networkStatus": "approvedByNetwork",
- "reason": "string"
}
}
universal.payment.refunds
universal.payment.refunds.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of refunds if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
], - "hasMore": false,
}
universal.payment.refunds
universal.payment.refunds.read
) refundId required | string |
Returns a refund object if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested Refund doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
universal.payment.refunds
universal.payment.refunds.read
) refundId required | string |
Returns the updated refund object if successful and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested Refund doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
To send funds to your own bank account, you create a new payout object.
universal.payouts
) Parameters for an Payout object.
test | string |
Returns a payout object if there were no initial errors with the payout creation (invalid routing number, insufficient funds, etc). The status of the payout object will be initially marked as pending.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "test": "string"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
universal.payouts
universal.payouts.read
) endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of payouts and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
], - "hasMore": false,
}
universal.payouts
) payoutId required | string |
Parameters for an PaymentIntent object.
test | string |
Returns the updated payout and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "test": "string"
}
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Splitti will return the corresponding payout information.
universal.payouts
universal.payouts.read
) payoutId required | string |
Returns a payout object if a valid identifier was provided, and returns an error otherwise.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "id": "WYTAdDJ75vk",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z"
}
universal.terminal.reader
) accountId required | string |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of Accounts bank accounts if successfully created and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z",
- "bankName": "string",
- "country": "IS",
- "currency": "EUR",
- "defaultForCurrency": true,
- "accountNumber": "string",
- "last4": "string",
- "routingNumber": "string",
- "status": "new",
- "accountHolderName": "string",
- "accountHolderType": "individual"
}
], - "hasMore": false,
}
accountId required | string |
endingBefore | string 11 characters Example: endingBefore=WYTAdDJ75vk A cursor for use in pagination. endingBefore is an object ID. |
startingBefore | string 11 characters Example: startingBefore=WYTAdDJ75vk A cursor for use in pagination. startingBefore is an object ID. |
limit | integer [ 1 .. 100 ] Default: 10 |
Returns a list of persons associated with an account. and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "data": [
- {
- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z",
- "account": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "string",
- "maidenName": "string",
- "lastName": "string",
- "gender": "male",
- "idNumberProvided": false,
- "idNumber": "string",
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:46Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "relationship": {
- "director": false,
- "executive": false,
- "owner": false,
- "percentOwnership": "0",
- "representative": false,
- "title": "string"
}, - "verification": {
- "additionalDocument": {
- "back": "string",
- "front": "string"
}, - "details": "string",
- "detailsCode": "documentAddressMismatch",
- "status": "pending"
}
}
], - "hasMore": false,
}
accountId required | string |
personId required | string |
Returns a list of persons associated with an account. and everything worked as expected.
The request was unacceptable, possibly due to missing a required parameter or due to badly formed json.
The parameters were valid but the request failed.
The user doesn't have permissions to perform the request.
The requested PaymentIntent doesn't exist.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
Something went wrong on our end.
{- "id": "WYTAdDJ75vk",
- "srn": "srn::123456789:universal:payment-intent:aasdfasdf",
- "created": "2020-03-25T06:20:46Z",
- "updated": "2020-03-25T06:20:46Z",
- "account": "string",
- "address": {
- "city": "string",
- "country": "IS",
- "line1": "string",
- "line2": "string",
- "postalCode": "string",
- "state": "string"
}, - "dateOfBirth": "2020-03-25",
- "email": "user@example.com",
- "firstName": "string",
- "maidenName": "string",
- "lastName": "string",
- "gender": "male",
- "idNumberProvided": false,
- "idNumber": "string",
- "requirements": {
- "currentDeadline": "2020-03-25T06:20:46Z",
- "currentlyDue": [
- "string"
], - "disabledReason": "requirements.pastDue",
- "eventuallyDue": [
- "string"
], - "pastDue": [
- "string"
], - "pendingVerification": [
- "string"
]
}, - "relationship": {
- "director": false,
- "executive": false,
- "owner": false,
- "percentOwnership": "0",
- "representative": false,
- "title": "string"
}, - "verification": {
- "additionalDocument": {
- "back": "string",
- "front": "string"
}, - "details": "string",
- "detailsCode": "documentAddressMismatch",
- "status": "pending"
}
}