Skip to main content

Resources Coming Soon

Early preview

International payments are coming soon. This preview gives you an early look at the expected experience so you can begin planning your integration.

SWIFT Counterparty​

Creates a SWIFT counterparty for a specific customer.

Attributes​

NameTypeDescription
typestringEither Business or Person.
namestringThe account holder's name (individual or business). Up to 255 characters.
bicstringBIC (SWIFT Bank Identifier Code) of the recipient's bank. 8 or 11 alphanumeric characters.
accountNumberstringRecipient bank account number or IBAN (International Bank Account Number). 1-34 alphanumeric characters (uppercase letters and digits only).
countrystringISO 3166-1 alpha-2 destination country code.
currencystringISO 4217 destination currency (e.g. EUR, GBP).
address RequiredobjectRecipient International address. country is required within the object.
email OptionalstringRecipient email address.
tags OptionalobjectSee Tags.
createdAtRFC3339 Date stringThe date the resource was created.
updatedAtRFC3339 Date stringThe date the resource was last updated.

Relationships​

NameTypeDescription
customerJSON:API RelationshipThe end-customer who registered this counterparty.
Example SWIFT counterparty resource:
{
"data": {
"type": "swiftCounterparty",
"id": "200",
"attributes": {
"type": "Person",
"name": "Hans Mueller",
"bic": "COBADEFFXXX",
"accountNumber": "DE89370400440532013000",
"country": "DE",
"currency": "EUR",
"address": {
"country": "DE",
"street": "Friedrichstrasse 123",
"city": "Berlin",
"postalCode": "10117"
},
"tags": {
"label": "EU supplier"
},
"createdAt": "2024-01-15T10:02:00.000Z",
"updatedAt": "2024-01-15T10:02:00.000Z"
},
"relationships": {
"customer": {
"data": {
"type": "businessCustomer",
"id": "1000"
}
}
}
}
}

International address​

NameTypeDescription
countrystringISO 3166-1 alpha-2 country code.
streetstringThe street name and number. 1-255 characters.
citystringCity. 1-50 characters.
statestringState or province. For US and CA addresses, two letters representing the state (US) or province (CA). 1-50 characters.
postalCodestringPostal code. 1-15 characters.

Quote​

Prerequisites

A SWIFT Counterparty must exist before a quote can be created.

A quote is a JSON resource with type quote that locks in the terms for a single international payment. When the payment involves currency conversion, the quote includes the applicable exchange rate.

Attributes​

NameTypeDescription
statusstringOne of New, Used, or Expired. See Quote Statuses.
sourceCurrencystringISO 4217 source currency. Always USD.
destinationCurrencystringISO 4217 destination currency code. Matches the related counterparty's currency.
destinationAmountintegerAmount the counterparty will receive, in the destination currency's minor unit (e.g. cents for EUR).
exchangeRatestringThe FX rate applied. Absent for USD→USD quotes.
sourceAmountintegerThe amount (in cents), before fees.
feeAmountintegerThe fee (in cents) for the payment.
totalAmountintegerTotal USD cents debited from the source account when the payment is created (principal and fees).
expiresAt OptionalRFC3339 Date stringFor foreign-currency quotes, the timestamp after which the locked rate expires. Absent for USD→USD quotes.
createdAtRFC3339 Date stringThe date the resource was created.

Relationships​

NameTypeDescription
customerJSON:API RelationshipThe customer for whom the quote was created.
counterpartyJSON:API RelationshipThe international counterparty that will receive the payment created from this quote.
Example quote resource:
{
"data": {
"type": "quote",
"id": "300",
"attributes": {
"status": "New",
"sourceCurrency": "USD",
"destinationCurrency": "EUR",
"destinationAmount": 10000,
"exchangeRate": "1.085",
"sourceAmount": 10850,
"feeAmount": 1750,
"totalAmount": 12600,
"expiresAt": "2024-01-15T10:20:00.000Z",
"createdAt": "2024-01-15T10:05:00.000Z"
},
"relationships": {
"counterparty": {
"data": {
"type": "swiftCounterparty",
"id": "200"
}
},
"customer": {
"data": {
"type": "businessCustomer",
"id": "1000"
}
}
}
}
}

International Payment​

Prerequisites

A non-expired Quote (status New) must exist before a payment can be submitted.

An international payment is a payment resource with type internationalPayment, created and managed through the /payments endpoints.

Attributes​

NameTypeDescription
statusstringPayment status. One of Pending, PendingReview, Sent, Rejected, Returned. A payment in PendingReview requires additional information before processing can continue; after the information is submitted, the status returns to Pending.
directionstringAlways Credit.
sourceAmountintegerUSD cents of converted principal (equals the quote's sourceAmount). The account is debited per the quote's totalAmount.
sourceCurrencystringISO 4217 source currency. Always USD.
destinationAmountintegerAmount received by the counterparty in the destination currency's minor unit.
destinationCurrencystringISO 4217 destination currency code.
destinationCountrystringISO 3166-1 alpha-2 destination country code. Returned on international payments; schema remains nullable for backward compatibility.
purposestringThe purpose of the payment. See International Payment Purpose Code for possible values.
sourceOfFundsstringDescribes the origin of the funds. One of Salary, PersonalSavings, PersonalWealth, RetirementFunds, BusinessOwner, LoanFacility, PersonalAccount, CorporateAccount.
reason OptionalstringPresent when status is Rejected or Returned. See Rejection reasons and Return reasons for possible values.
description OptionalstringPayment description (maximum of 255 characters).
tags OptionalobjectSee Tags.
createdAtRFC3339 Date stringThe date the resource was created.
updatedAtRFC3339 Date stringThe date the resource was last updated.

Relationships​

NameTypeDescription
accountJSON:API RelationshipThe source deposit account debited for this payment.
customersArray of JSON:API RelationshipThe customer(s) associated with the source account.
quoteJSON:API RelationshipThe quote used to create this payment.
counterpartyJSON:API RelationshipThe international counterparty (swiftCounterparty) receiving the funds.
transactionJSON:API RelationshipThe International Payment Transaction debited from the source account for the payment amount.
Example international payment resource:
{
"data": {
"type": "internationalPayment",
"id": "400",
"attributes": {
"status": "Pending",
"direction": "Credit",
"sourceAmount": 10850,
"sourceCurrency": "USD",
"destinationAmount": 10000,
"destinationCurrency": "EUR",
"destinationCountry": "DE",
"purpose": "Travel",
"sourceOfFunds": "PersonalSavings",
"description": "Travel expenses for trip to Berlin",
"createdAt": "2024-01-15T10:10:00.000Z",
"updatedAt": "2024-01-15T10:10:00.000Z"
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "5000"
}
},
"counterparty": {
"data": {
"type": "swiftCounterparty",
"id": "200"
}
},
"quote": {
"data": {
"type": "quote",
"id": "300"
}
},
"customers": {
"data": [
{
"type": "businessCustomer",
"id": "1000"
}
]
},
"transaction": {
"data": {
"type": "originatedInternationalTransaction",
"id": "6001"
}
}
}
}
}

International Payment Transaction​

NameTypeDescription
idstringIdentifier of the transaction resource.
typestringType of the transaction resource. The value is always originatedInternationalTransaction.
attributesJSON ObjectJSON object representing the transaction data.
relationshipsJSON:API RelationshipsDescribes relationships between the transaction resource and other resources (account, customer and payment).

Attributes​

NameTypeDescription
createdAtRFC3339 Date stringThe date the transaction was created. Common to all transaction types.
directionstringThe direction in which the funds flow. Common to all transaction types. Always Debit.
amountintegerThe amount (cents) of the transaction. Common to all transaction types.
balanceintegerThe account balance (cents) after the transaction. Common to all transaction types.
summarystringSummary of the transaction. Common to all transaction types.
tagsobjectSee Tags. Inherited from the payment tags (see Tag Inheritance).

Relationships​

NameTypeDescription
accountJSON:API RelationshipThe Deposit Account of the customer.
customerOptional, JSON:API RelationshipThe Customer the deposit account belongs to. This relationship is only available if the account belongs to a single customer, business or individual.
customersOptional, Array of JSON:API RelationshipThe list of Customers the deposit account belongs to. This relationship is only available if the account belongs to multiple individual customers.
paymentJSON:API RelationshipThe International Payment belonging to this transaction.
Example OriginatedInternationalTransaction resource:
{
"data": {
"type": "originatedInternationalTransaction",
"id": "6001",
"attributes": {
"createdAt": "2024-01-15T10:10:00.000Z",
"direction": "Debit",
"amount": 10850,
"balance": 500,
"summary": "International payment to Hans Mueller",
"tags": {
"invoice_id": "INV-2024-0115"
}
},
"relationships": {
"account": {
"data": {
"type": "depositAccount",
"id": "5000"
}
},
"customer": {
"data": {
"type": "businessCustomer",
"id": "1000"
}
},
"payment": {
"data": {
"type": "internationalPayment",
"id": "400"
}
}
}
}
}