Download OpenAPI specification:
API for accessing bank information across multiple providers.
This API allows you to retrieve comprehensive bank information including:
Filter banks by country, payment method, provider, and search terms.
Returns a list of banks with optional filtering by country, provider, payment method, and search term. Results are paginated.
country | string Example: country=GB Filter by ISO 3166-1 alpha-2 country code |
provider | string Example: provider=token Filter by banking provider |
paymentMethod | string Example: paymentMethod=sepa Filter by supported payment method |
search | string Example: search=national Search term to filter bank names |
page | integer >= 1 Default: 1 Page number for pagination |
limit | integer [ 1 .. 500 ] Default: 100 Number of results per page |
success | boolean |
object |
{- "success": true,
- "data": {
- "banks": [
- {
- "id": "gb-hsbc-bank-personal",
- "name": "HSBC Bank - Personal",
- "country": "GB",
- "supportedPaymentMethods": [
- "faster_payments",
- "chaps",
- "sepa"
], - "active": true,
- "features": {
- "accountAccess": true,
- "accountBalance": true,
- "transactions": true,
- "payments": true
}, - "providerSupport": {
- "token": {
- "available": true,
- "features": [
- "accountAccess",
- "accountBalance",
- "transactions",
- "payments"
], - "providerId": "ob-hsbc-per",
- "lastUpdated": "2025-04-22T19:01:51.702Z"
}
}, - "recommendedProvider": "token"
}, - {
- "id": "gb-barclays-bank",
- "name": "Barclays Bank",
- "country": "GB",
- "supportedPaymentMethods": [
- "faster_payments",
- "chaps",
- "sepa"
], - "active": true,
- "features": {
- "accountAccess": true,
- "accountBalance": true,
- "transactions": true,
- "payments": true
}, - "providerSupport": {
- "token": {
- "available": true,
- "features": [
- "accountAccess",
- "accountBalance",
- "transactions",
- "payments"
], - "providerId": "ob-barclays",
- "lastUpdated": "2025-04-22T19:01:51.702Z"
}
}, - "recommendedProvider": "token"
}
], - "pagination": {
- "total": 51,
- "page": 1,
- "limit": 100,
- "pages": 1
}
}
}
Returns a list of all supported banking providers
success | boolean |
object |
{- "success": true,
- "data": {
- "providers": [
- "token",
- "yapily",
- "truelayer",
- "tink"
]
}
}
Returns detailed information about a specific bank
id required | string Bank ID |
success | boolean |
object |
{- "success": true,
- "data": {
- "bank": {
- "id": "gb-hsbc-bank-personal",
- "name": "HSBC Bank - Personal",
- "country": "GB",
- "supportedPaymentMethods": [
- "faster_payments",
- "chaps",
- "sepa"
], - "active": true,
- "features": {
- "accountAccess": true,
- "accountBalance": true,
- "transactions": true,
- "payments": true
}, - "providerSupport": {
- "token": {
- "available": true,
- "features": [
- "accountAccess",
- "accountBalance",
- "transactions",
- "payments"
], - "providerId": "ob-hsbc-per",
- "lastUpdated": "2025-04-22T19:01:51.702Z"
}
}, - "recommendedProvider": "token"
}
}
}
Admin-only endpoint to synchronize bank information from providers. Optional query parameter to specify which provider to sync.
provider | string Example: provider=token Specific provider to sync (omit to sync all) |
success | boolean |
message | string |
object |
{- "success": true,
- "message": "Bank synchronization completed",
- "data": {
- "property1": {
- "created": 5,
- "updated": 10,
- "skipped": 2,
- "total": 17
}, - "property2": {
- "created": 5,
- "updated": 10,
- "skipped": 2,
- "total": 17
}
}
}
Returns a list of payments for the authenticated client. Results are paginated and can be filtered by status and provider.
status | string (PaymentStatus) Enum: "PENDING" "AUTHORIZING" "AUTHORIZED" "SUBMITTED" "ACCEPTED" "COMPLETED" "FAILED" "CANCELLED" "EXPIRED" Example: status=PENDING Filter by payment status |
provider | string Example: provider=token Filter by payment provider |
limit | integer [ 1 .. 100 ] Default: 20 Number of results per page (max 100) |
offset | integer >= 0 Default: 0 Number of results to skip |
success | boolean |
object |
{- "success": true,
- "data": {
- "payments": [
- {
- "success": true,
- "data": {
- "paymentId": "pay_1234567890abcdef",
- "status": "PENDING",
- "provider": "token",
- "bankId": "gb-hsbc-bank-personal",
- "amount": {
- "value": "100.50",
- "currency": "GBP"
}, - "fromAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "toAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "reference": {
- "reference": "Invoice INV-001",
- "endToEndId": "E2E-12345"
}, - "flowType": "API_ONLY",
- "createdAt": "2025-01-07T10:00:00Z",
- "updatedAt": "2025-01-07T10:05:00Z",
- "expiresAt": "2025-01-08T10:00:00Z",
- "completedAt": "2025-01-07T10:10:00Z",
- "statusHistory": [
- {
- "status": "PENDING",
- "timestamp": "2019-08-24T14:15:22Z",
- "provider": "string",
- "details": "string"
}
],
}
}
], - "total": 25,
- "limit": 20,
- "offset": 0
}
}
Initiates a new Single Immediate Payment using the specified provider. Supports different flow types for various integration approaches.
object (AccountDetails) | |
required | object (AccountDetails) |
required | object (Amount) |
object (PaymentReference) | |
flowType | string (PaymentFlowType) Enum: "API_ONLY" "HOSTED_PAGES" "EMBEDDED_HOSTED_PAGES" The integration flow type for the payment:
|
redirectUrl | string <uri> URL to redirect to after payment completion |
provider required | string Payment provider to use |
bankId | string Bank identifier (required for EMBEDDED_HOSTED_PAGES flow) |
success | boolean |
object |
{- "toAccount": {
- "iban": "GB29NWBK60161331926819",
- "accountName": "Jane Smith"
}, - "amount": {
- "value": "100.00",
- "currency": "GBP"
}, - "reference": {
- "reference": "Payment for services"
}, - "flowType": "API_ONLY",
- "provider": "token"
}
{- "success": true,
- "data": {
- "paymentId": "pay_1234567890abcdef",
- "status": "PENDING",
- "provider": "token",
- "bankId": "gb-hsbc-bank-personal",
- "amount": {
- "value": "100.50",
- "currency": "GBP"
}, - "createdAt": "2025-01-07T10:00:00Z",
- "expiresAt": "2025-01-08T10:00:00Z"
}
}
Returns a list of payment providers supported by the API
success | boolean |
object |
{- "success": true,
- "data": {
- "providers": [
- {
- "id": "token",
- "name": "token",
- "supportsPayments": true
}
]
}
}
Returns details of a specific payment
paymentId required | string Example: pay_1234567890abcdef Unique payment identifier |
success | boolean |
object |
{- "success": true,
- "data": {
- "paymentId": "pay_1234567890abcdef",
- "status": "PENDING",
- "provider": "token",
- "bankId": "gb-hsbc-bank-personal",
- "amount": {
- "value": "100.50",
- "currency": "GBP"
}, - "fromAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "toAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "reference": {
- "reference": "Invoice INV-001",
- "endToEndId": "E2E-12345"
}, - "flowType": "API_ONLY",
- "createdAt": "2025-01-07T10:00:00Z",
- "updatedAt": "2025-01-07T10:05:00Z",
- "expiresAt": "2025-01-08T10:00:00Z",
- "completedAt": "2025-01-07T10:10:00Z",
- "statusHistory": [
- {
- "status": "PENDING",
- "timestamp": "2019-08-24T14:15:22Z",
- "provider": "string",
- "details": "string"
}
],
}
}
Cancels a payment if it is in a cancellable state. Payments can only be cancelled before they are completed or failed.
paymentId required | string Example: pay_1234567890abcdef Unique payment identifier |
success | boolean |
object |
{- "success": true,
- "data": {
- "paymentId": "pay_1234567890abcdef",
- "status": "PENDING",
- "provider": "token",
- "bankId": "gb-hsbc-bank-personal",
- "amount": {
- "value": "100.50",
- "currency": "GBP"
}, - "fromAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "toAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "reference": {
- "reference": "Invoice INV-001",
- "endToEndId": "E2E-12345"
}, - "flowType": "API_ONLY",
- "createdAt": "2025-01-07T10:00:00Z",
- "updatedAt": "2025-01-07T10:05:00Z",
- "expiresAt": "2025-01-08T10:00:00Z",
- "completedAt": "2025-01-07T10:10:00Z",
- "statusHistory": [
- {
- "status": "PENDING",
- "timestamp": "2019-08-24T14:15:22Z",
- "provider": "string",
- "details": "string"
}
],
}
}
Synchronizes the payment status with the provider. This will update the payment status to reflect the latest state from the banking provider.
paymentId required | string Example: pay_1234567890abcdef Unique payment identifier |
success | boolean |
object |
{- "success": true,
- "data": {
- "paymentId": "pay_1234567890abcdef",
- "status": "PENDING",
- "provider": "token",
- "bankId": "gb-hsbc-bank-personal",
- "amount": {
- "value": "100.50",
- "currency": "GBP"
}, - "fromAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "toAccount": {
- "accountNumber": "12345678",
- "sortCode": "12-34-56",
- "iban": "GB29NWBK60161331926819",
- "bic": "NWBKGB2L",
- "accountName": "John Doe",
- "bankName": "HSBC Bank"
}, - "reference": {
- "reference": "Invoice INV-001",
- "endToEndId": "E2E-12345"
}, - "flowType": "API_ONLY",
- "createdAt": "2025-01-07T10:00:00Z",
- "updatedAt": "2025-01-07T10:05:00Z",
- "expiresAt": "2025-01-08T10:00:00Z",
- "completedAt": "2025-01-07T10:10:00Z",
- "statusHistory": [
- {
- "status": "PENDING",
- "timestamp": "2019-08-24T14:15:22Z",
- "provider": "string",
- "details": "string"
}
],
}
}