# GET /v1/beneficiary Source: https://docs.finsei.com/api-reference/endpoint/get-v1-beneficiary GET /v1/beneficiary # GET /v1/beneficiary/{id} Source: https://docs.finsei.com/api-reference/endpoint/get-v1-beneficiary-id GET /v1/beneficiary/{id} # GET /v1/card ⚠️ Source: https://docs.finsei.com/api-reference/endpoint/get-v1-card GET /v1/card **Deprecated** This method is deprecated and will be removed in future API versions. Use [`GET /v2/card`](/api-reference/endpoint/get-v2-card) instead. # GET /v1/card/{id} ⚠️ Source: https://docs.finsei.com/api-reference/endpoint/get-v1-card-id GET /v1/card/{id} **Deprecated** This method is deprecated and will be removed in future API versions. Use [`GET /v2/card/{id}`](/api-reference/endpoint/get-v2-card-id) instead. # GET /v1/card/{id}/limits ⚠️ Source: https://docs.finsei.com/api-reference/endpoint/get-v1-card-id-limits GET /v1/card/{id}/limits **Deprecated** This method is deprecated and will be removed in future API versions. Use [`POST /v2/card/{id}/calculate/limits`](/api-reference/endpoint/post-v2-card-id-calculate-limits) instead. # GET /v1/wallet/{id}/deposit/bank/list/country Source: https://docs.finsei.com/api-reference/endpoint/get-v1-wallet-id-deposit-bank-list-country GET /v1/wallet/{id}/deposit/bank/list/country # GET /v1/wallet/{walletId}/deposit/bank/intent Source: https://docs.finsei.com/api-reference/endpoint/get-v1-wallet-walletId-deposit-bank-intent GET /v1/wallet/{walletId}/deposit/bank/intent Returns Open Banking deposit intents for a wallet accessible to the authenticated user, including closed wallets. Results are paginated and sorted by creation time descending by default. Intents with the same creation time are ordered by ID in the same direction. Returns an empty array when no intents match. # GET /v1/wallet/{walletId}/deposit/bank/intent/{intentId} Source: https://docs.finsei.com/api-reference/endpoint/get-v1-wallet-walletId-deposit-bank-intent-intentid GET /v1/wallet/{walletId}/deposit/bank/intent/{intentId} Returns an Open Banking deposit intent for a wallet accessible to the authenticated user, including closed wallets. Returns 404 when the wallet is not found or not accessible, or when the intent does not exist or belongs to another wallet. # GET /v2/card Source: https://docs.finsei.com/api-reference/endpoint/get-v2-card GET /v2/card # GET /v2/card/{id} Source: https://docs.finsei.com/api-reference/endpoint/get-v2-card-id GET /v2/card/{id} # GET /v2/payment Source: https://docs.finsei.com/api-reference/endpoint/get-v2-payment GET /v2/payment # GET /v2/payment/{id} Source: https://docs.finsei.com/api-reference/endpoint/get-v2-payment-id GET /v2/payment/{id} # GET /v2/webhook Source: https://docs.finsei.com/api-reference/endpoint/get-v2-webhook GET /v2/webhook # GET /v2/webhook/event Source: https://docs.finsei.com/api-reference/endpoint/get-v2-webhook-event GET /v2/webhook/event List of events you can sign up for # GET /v3/auth/web-socket Source: https://docs.finsei.com/api-reference/endpoint/get-v3-auth-web-socket GET /v3/auth/web-socket # GET /v3/wallet Source: https://docs.finsei.com/api-reference/endpoint/get-v3-wallet GET /v3/wallet # GET /v3/wallet/{id} Source: https://docs.finsei.com/api-reference/endpoint/get-v3-wallet-id GET /v3/wallet/{id} # PATCH /v2/card/{id}/password Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-card-id-password PATCH /v2/card/{id}/password # PATCH /v2/card/{id}/phone Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-card-id-phone PATCH /v2/card/{id}/phone # PATCH /v2/card/{id}/pin Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-card-id-pin PATCH /v2/card/{id}/pin # PATCH /v2/card/{id}/sms-balance-notification Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-card-id-sms-balance-notification PATCH /v2/card/{id}/sms-balance-notification # PATCH /v2/card/{id}/status Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-card-id-status PATCH /v2/card/{id}/status # PATCH /v2/webhook Source: https://docs.finsei.com/api-reference/endpoint/patch-v2-webhook PATCH /v2/webhook # POST /v1/payment/{id}/cancel Source: https://docs.finsei.com/api-reference/endpoint/post-v1-payment-id-cancel POST /v1/payment/{id}/cancel # POST /v1/wallet/{id}/deposit/bank Source: https://docs.finsei.com/api-reference/endpoint/post-v1-wallet-id-deposit-bank POST /v1/wallet/{id}/deposit/bank # POST /v1/wallet/{id}/deposit/bank/fee Source: https://docs.finsei.com/api-reference/endpoint/post-v1-wallet-id-deposit-bank-fee POST /v1/wallet/{id}/deposit/bank/fee # POST /v2/auth Source: https://docs.finsei.com/api-reference/endpoint/post-v2-auth POST /v2/auth # POST /v2/auth/token ⚠️ Source: https://docs.finsei.com/api-reference/endpoint/post-v2-auth-token POST /v2/auth/token **Deprecated** This method is deprecated and will be removed in future API versions. Use [`POST /v3/auth/token`](/api-reference/endpoint/post-v3-auth-token) instead. # POST /v2/auth/token/refresh ⚠️ Source: https://docs.finsei.com/api-reference/endpoint/post-v2-auth-token-refresh POST /v2/auth/token/refresh **Deprecated** This method is deprecated and will be removed in future API versions. Use [`PUT /v3/auth/token`](/api-reference/endpoint/put-v3-auth-token) instead. # POST /v2/beneficiary Source: https://docs.finsei.com/api-reference/endpoint/post-v2-beneficiary POST /v2/beneficiary # POST /v2/card Source: https://docs.finsei.com/api-reference/endpoint/post-v2-card POST /v2/card # POST /v2/card/{id}/calculate/limits Source: https://docs.finsei.com/api-reference/endpoint/post-v2-card-id-calculate-limits POST /v2/card/{id}/calculate/limits # POST /v2/card/{id}/credentials Source: https://docs.finsei.com/api-reference/endpoint/post-v2-card-id-credentials POST /v2/card/{id}/credentials # POST /v2/member Source: https://docs.finsei.com/api-reference/endpoint/post-v2-member POST /v2/member # POST /v3/auth/token Source: https://docs.finsei.com/api-reference/endpoint/post-v3-auth-token POST /v3/auth/token # POST /v3/payment Source: https://docs.finsei.com/api-reference/endpoint/post-v3-payment POST /v3/payment # POST /v3/payment/sign Source: https://docs.finsei.com/api-reference/endpoint/post-v3-payment-sign POST /v3/payment/sign # POST /v2/mfa/{type}/sign/{requestId} Source: https://docs.finsei.com/api-reference/endpoint/post-verify-mfa POST /v2/mfa/{type}/sign/{requestId} Submits an MFA verification code to retrieve a signToken. # PUT /v3/auth/token Source: https://docs.finsei.com/api-reference/endpoint/put-v3-auth-token PUT /v3/auth/token # Introduction Source: https://docs.finsei.com/api-reference/introduction In this section, you will find the necessary endpoints. # Rate Limiting and 429 Response Source: https://docs.finsei.com/api-reference/rate-limiting-429 Some API methods are protected with rate limiting to prevent abuse and ensure fair usage. When too many requests are sent in a short period of time, the API will respond with: `HTTP 429 Too Many Requests` This means that the client has reached the allowed request limit for a given time window. Further requests to the same endpoint should be delayed until the limit resets. ## Endpoints Affected by Rate Limiting The following endpoints may return 429 Too Many Requests if called too frequently: * `POST /v2/auth/refresh` * `POST /v2/auth/token/refresh` * `POST /v3/payment` * `POST /v2/card/{id}/calculate/limits` * `PATCH /v2/card/{id}/limits` * `POST /v2/auth` * `DELETE /v1/crypto/address/{id}` * `POST /v2/card` * `PATCH /v2/webhook` ❗ **Please note:** POST /v3/payment method allows to create around 10 payments in a second in case all the data is the same in request body. After reaching limit in 10 payments per second you may get 429 error code. # Beneficiary Source: https://docs.finsei.com/core-concepts/beneficiary Beneficiary is an entity that holds IBAN in it and can be used to create debit payments. Company beneficiaries can be created via [`POST /v2/beneficiary`](/api-reference/endpoint/post-v2-beneficiary) and viewed via [`GET /v1/beneficiary`](/api-reference/endpoint/get-v1-beneficiary) or [`GET /v1/beneficiary/{id}`](/api-reference/endpoint/get-v1-beneficiary-id) methods in API. Depending on the recipient you want to pay to, beneficiaries can be of two types: **Individual** and **Company**. Crucial attributes while creating beneficiary are: currency, IBAN and entity\_type. The combination of **Currency + IBAN** must be unique. You cannot create a beneficiary with the same IBAN and currency as an existing one - such attempts will be rejected. Based on the currency you chose during beneficiary creation, additional fields can become required to fill in. If the currency is EUR but the beneficiary is not located in a SEPA country, the payment will be processed as a SWIFT transfer instead of SEPA, and more information will be required. After creating a beneficiary, the following actions are available: * **Send (pay)** * **Delete** * **Edit template name** # User Source: https://docs.finsei.com/core-concepts/user Users (also known as sub-users) are entities within a company who can perform various actions depending on their assigned role. > The **Users** tab is only visible to the company’s **main user (admin)**. ## Role Users can have a role which limits user’s actions. There are three available roles for user: * Full access * Partial access * View only access For more details about adding users and managing user roles, see [Adding a new user](https://finsei.freshdesk.com/support/solutions/articles/47001259525-adding-a-new-user). ### Expiration date User can have limited by time access. 'Expire date' attribute should be specified, so user is only able to perform actions until specified date. ### Wallet access When creating or editing a user, you can configure their access to specific company wallets — **wallet access**. ![Edit User](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/user/user1.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=3ae1683047b29afccc6e041a9e3e673c) > If the **“Custom wallet access”** toggle is enabled, at least one wallet must be selected for the user to have access to. Once the available wallets are selected, the user will only have access to the specified wallets and their associated transactions. ![Edit User](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/user/user2.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=cdd9b5f4516dfe4ef98cd5e23635f783) ### Password setup Once user is created, he should set password using 'Forgot password?' form on login page. After password set up, an email with reset password link will be received to the specified email address. ### JWT token Users also can be used to create JWT token. More info you can find [here](../getting-started/create-jwt-token). # How can I check my card limits? Source: https://docs.finsei.com/getting-started/check-card-limits To check the limits for a specific card execute [`POST /v2/card/{id}/calculate/limits`](/api-reference/endpoint/post-v2-card-id-calculate-limits) method. The limit values will be sent via [v2.cardLimits.calculate](/getting-started/payment-webhooks#v2-cardlimits-calculate) webhook. # How can I check all my cards? Source: https://docs.finsei.com/getting-started/check-my-cards To check all cards related to current account execute [`GET /v2/card`](/api-reference/endpoint/get-v2-card) To check all cards related to current account and specific wallet execute [`GET /v2/card`](/api-reference/endpoint/get-v2-card) with id of the card wallet in wallet\_id parameter # How can I check my wallet account details? Source: https://docs.finsei.com/getting-started/check-my-wallet-account-details Account wallet details can be found after logging in to your account:\ **Wallets tab > Wallet > Details** Or by using the following methods: [`GET /v3/wallet`](/api-reference/endpoint/get-v3-wallet) or [`GET /v3/wallet/{id}`](/api-reference/endpoint/get-v3-wallet-id) ❗ **Please note:**\ Wallet creation in the production environment must be agreed upon with your account manager. # How can I check payment status? Source: https://docs.finsei.com/getting-started/check-payment-status Payment status can be checked by periodically executing the [`GET /v2/payment/{id}`](/api-reference/endpoint/get-v2-payment-id) method only where `id = payment id`. # How can I create a card? Source: https://docs.finsei.com/getting-started/create-card 1. If you have no card wallet, it can be created with your first card. To order card together with card wallet execute [`POST /v2/card`](/api-reference/endpoint/post-v2-card) with no data in walletId parameter 2. If you already have a card wallet, execute [`POST /v2/card`](/api-reference/endpoint/post-v2-card) with id of the card wallet in walletId parameter If you get the following response then card was created successfully: ```json theme={null} { "status": "SUCCESS", "data": { "cardId": "xxx", "cardUuid": "xxx" } } ``` ⚠️ Please be aware that there may be a propagation delay between the initial creation of a card and its final activation. A card is not immediately ready for transactions the moment the creation request is successful. To ensure that a card is fully activated and ready for use, you should not rely on polling. Instead, we recommend implementing a webhook listener. You must [subscribe](/getting-started/payment-webhooks) to the [v2.card.update](/getting-started/payment-webhooks#v2-card-update) event and wait for a notification containing the appropriate card status (e.g., ACTIVE). Processing should only continue once your system receives this specific event, confirming that the card has been successfully provisioned in the banking core. Please do not be confused by the PAN code of the card in the sandbox environment - it is the same for all cards (1111111111111111). # How can I create debit payment to another Finsei wallet? Source: https://docs.finsei.com/getting-started/create-debit-another-finsei-wallet Here are the steps: 1. Execute [`POST /v3/payment`](/api-reference/endpoint/post-v3-payment) with the following parameters in the request body, where: * `walletId`: UUID of the debit wallet * `targetWalletId`: UUID of the credit wallet ```json theme={null} { "status": "new", "walletId": 0, "amount": 0, "targetWalletId": 0, "reference": "string" } ``` # How can I create a debit payment to the beneficiary? Source: https://docs.finsei.com/getting-started/create-debit-to-ben 1. If you have no beneficiary, execute [`POST /v2/beneficiary`](/api-reference/endpoint/post-v2-beneficiary) with all required data in request body 2. If you already have a beneficiary, execute [`POST /v3/payment`](/api-reference/endpoint/post-v3-payment) with the following parameters in the request body, where walletId: debit wallet uuid, beneficiaryId: uuid of your created beneficiary. ```json theme={null} { "status": "new", "walletId": "550e8400-e29b-41d4-a716-446655440000", "amount": 0, "beneficiaryId": "7f9c2a1b-6d4e-4f3a-9b8c-123456789abc", "reference": "string", "signToken": "" } ``` # How can I create incoming credit payments? Source: https://docs.finsei.com/getting-started/create-incoming-credit-payments You cannot create an incoming payment via the API. Incoming payments are created automatically based on financial messages. On prod environment, if the sending bank supports the creation of outgoing payments via the API, you can create it. When it is completed, we will receive a financial message and automatically create an incoming payment. To imitate incoming credit payment on Sandbox environment please contact [[dina.osipova@finsei.com](mailto:dina.osipova@finsei.com)](mailto:dina.osipova@finsei.com). On prod and sandbox environments - you can also create an outgoing payment from your Finsei wallet 1 to your Finsei wallet 2 via the API. In this case, when it is executed, an incoming payment will be created automatically. # JWT token without 2FA Source: https://docs.finsei.com/getting-started/create-jwt-token The following functionality can help you avoid an additional step when using the Finsei API - the **sign** API method. > ⚠️ **Important!:**\ > **JWT token creation is only available for [sub-users](/getting-started/create-sub-user).** To generate a JWT token without 2FA, follow the steps below and set the **"Enable 2FA"** parameter to `false`. **Steps:** 1. Go to **Account > Settings** ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/jwt-token/jwt1.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=566abfaddea229430dda3955b1ba8c7f) 2. Go to **Security** tab 3. Click **"Create token pair"** under **"JSON Web Token"** section ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/jwt-token/jwt2.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=50f6bc1de89f57488b9f403a244652de) 4. Fill in all required fields: * **IP address** – address allowed for login * **Expire date** – date when the token will expire * **Session name** – name for the generated token pair * **Enable 2FA** – whether 2FA is enabled or not ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/jwt-token/jwt3.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=f28133da995e6e8fb48a0ed912e6a47a) 5. Click the **"Confirm"** button 6. Enter the **2FA code** 7. Save the generated **access** and **refresh** tokens ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/jwt-token/jwt4.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=a2d6acc927c5463d5bc8f0575060d4f1) The tokens can be used to log in via API and to refresh the access token. ❗ **Please note:** * If you don’t specify IP addresses, the tokens will expire in **3 months** - means no matter how many times you refresh your token during this time, in 3 mounth you won't be able to log in and to refresh your tokens * The **access token** is valid for **10 minutes** and should be refreshed using [`PUT /v3/auth/token`](/api-reference/endpoint/put-v3-auth-token) with the refresh token obtained in step 7. A new pair of access and refresh tokens will be received in method response. * The **refresh token** is valid for 90 days from the moment of its refresh or use # A user (sub-user) creation Source: https://docs.finsei.com/getting-started/create-sub-user ## To create a sub-user, follow the steps below: 1. Log in as the main user to your account: [https://app.sandbox.finsei.com/auth/login](https://app.sandbox.finsei.com/auth/login) 2. Go to the **Users** tab 3. Click **Add user** 4. Fill in all required fields 5. Click **Add user** ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/add-user/add-user1.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=f0533bff6e561248e0caa9e2067916ab) To log in as a sub-user, a password must be set.\ Use the **"Forgot password?"** form: [https://app.sandbox.finsei.com/auth/forgot](https://app.sandbox.finsei.com/auth/forgot). ![Add user](https://mintcdn.com/dimas-f3fd369f/2JrKq48ELe8JskGO/images/add-user/add-user2.png?fit=max\&auto=format\&n=2JrKq48ELe8JskGO\&q=85\&s=1f4556dec22f9e41561dcc53e910e1fb) After submitting the form, please check your email inbox to get the reset password link. Once the password is set and confirmed, the sub-user can log in. # Account on Finsei sandbox Source: https://docs.finsei.com/getting-started/get-sandbox-account To get an account on Finsei [sandbox](https://api.sandbox.finsei.com) please reach out to [[dina.osipova@finsei.com](mailto:dina.osipova@finsei.com)](mailto:dina.osipova@finsei.com). # How can I get webhooks? Source: https://docs.finsei.com/getting-started/payment-webhooks ## Webhook subscription setup To setup endpoint and subscribe to webhook events you should execute [`PATCH /v2/webhook`](/api-reference/endpoint/patch-v2-webhook) method. The following parameters should be specified in request body: * **url** - the path to the service you'll receive your webhooks on * **enable** - whether or not webhook send is enabled * **rateLimit** - amount of events per second * **events** - the list of events you subscribe to > *The list of available events can be obtained in [`GET /v2/webhook/event`](/api-reference/endpoint/get-v2-webhook-event) method.* In order to check if everything is configured correctly, execute [`GET /v2/webhook`](/api-reference/endpoint/get-v2-webhook) method. > *Any company user can execute the method and configure a webhook for themselves with the required pool of events and with their own url.* ## Webhook retry If a webhook delivery attempt fails, the system will automatically try to resend the message at the following time intervals after the initial failure: * 5 seconds * 5 minutes (300 seconds) * 30 minutes (1800 seconds) * 2 hours (7200 seconds) * 5 hours (18000 seconds) * 10 hours (36000 seconds) ## Webhook Headers Each webhook request sent from Finsei includes several HTTP headers that help ensure security, integrity, and traceability of events.
Header Description Example
`Content-Type` Specifies the media type of the webhook payload. `application/json`
`User-Agent` Identifies the Finsei webhook service version. `Finsei-Webhook/1.0.0 (https://api.finsei.com/doc/webhook.md)`
`Webhook-Id` Unique identifier of the webhook delivery attempt. Useful for idempotency or debugging. `0199e36e-30b8-7063-8831-1af941108e25`
`Webhook-Timestamp` UNIX timestamp (seconds) when the webhook was created by Finsei. `1760457280`
`Webhook-Signature` Base64-encoded RS256 signature of the raw HTTP request body. Verify it using the public JWK returned by GET /v2/webhook. `aqpd2Y8elIDUwXcouBeD7bSMEb8ttedxNXif8pWq19Ghiu3rR5JbPV2gNDhNKAm...`
## Webhook example values #### **v2.payment.create** ```json theme={null} { "id": 0, "uuid": "string", "status": "new", "type": "string", "fee": { "amount": 0, "currencyId": "str" }, "amount": 0, "total": 0, "counterparty": { "name": "string", "accountHolderName": "string", "bic": "string", "iban": "string" }, "beneficiaryId": 0, "walletId": 0, "walletUuid": "string", "icon": "CONVERT", "entity": "PAYMENT", "currencyId": "str", "currencyExchangeId": 0, "currencyExchangeUuid": "string", "reference": "string", "transactionAmount": 0, "transactionCurrencyId": "str", "transactionExchangeRate": "string", "retrievalReferenceNumber": "string", "rejectReason": "string", "purposeCode": { "code": "string", "purpose": "string" }, "operationType": "string", "createdAt": 1666666666999, "updatedAt": 1666666666999, "completedAt": 1667404598000 } ``` #### **v2.payment.update** ```json theme={null} { "id": 0, "uuid": "string", "status": "new", "type": "string", "fee": { "amount": 0, "currencyId": "str" }, "amount": 0, "total": 0, "counterparty": { "name": "string", "accountHolderName": "string", "bic": "string", "iban": "string" }, "beneficiaryId": 0, "walletId": 0, "walletUuid": "string", "icon": "CONVERT", "entity": "PAYMENT", "currencyId": "str", "currencyExchangeId": 0, "currencyExchangeUuid": "string", "reference": "string", "transactionAmount": 0, "transactionCurrencyId": "str", "transactionExchangeRate": "string", "retrievalReferenceNumber": "string", "rejectReason": "string", "purposeCode": { "code": "string", "purpose": "string" }, "operationType": "string", "createdAt": 1666666666999, "updatedAt": 1666666666999, "completedAt": 1667404598000 } ``` #### **v2.payment.delete** ```json theme={null} { "id": 0, "uuid": "string", "walletId": 0, "walletUuid": "string" } ``` #### **v3.wallet.create** ```json theme={null} { "id": 0, "uuid": "string", "balance": 0, "balanceLock": 0, "balanceInProgress": 0, "currencyId": "str", "description": "string", "data": { "type": "BANK", "accountId": "string", "details": [ { "id": "string", "isMain": true, "label": "string", "iban": "string", "bicSwift": "string", "bank": { "accountHolderName": "string", "name": "string", "address": "string" } } ] }, "flags": { "isVisible": true, "isFavourite": true }, "status": "ACTIVE", "color": "string", "name": "string", "updatedAt": 1666666666999 } ``` #### **v3.wallet.update** ```json theme={null} { "id": 0, "uuid": "string", "balance": 0, "balanceLock": 0, "balanceInProgress": 0, "currencyId": "str", "description": "string", "data": { "type": "BANK", "accountId": "string", "details": [ { "id": "string", "isMain": true, "label": "string", "iban": "string", "bicSwift": "string", "bank": { "accountHolderName": "string", "name": "string", "address": "string" } } ] }, "flags": { "isVisible": true, "isFavourite": true }, "status": "ACTIVE", "color": "string", "name": "string", "updatedAt": 1666666666999 } ``` #### **v2.card.create** ```json theme={null} { "id": "string", "walletId": "string", "type": "ChipAndPin", "maskedPan": "474359******5050", "status": "PROCESS", "validUntilDate": "string", "cardholderName": "string", "notification": { "type": "ERROR", "title": "string", "message": "string" }, "orderInfo": { "title": "string", "message": "string", "orderedAt": 0, "dispatchedAt": 0, "delivery": {} }, "isSmsBalanceNotification": false, "designId": "AIV", "updatedAt": 1666666666, "version": 1 } ``` #### **v2.card.update** ```json theme={null} { "id": "string", "walletId": "string", "type": "ChipAndPin", "maskedPan": "474359******5050", "status": "PROCESS", "validUntilDate": "string", "cardholderName": "string", "notification": { "type": "ERROR", "title": "string", "message": "string" }, "orderInfo": { "title": "string", "message": "string", "orderedAt": 0, "dispatchedAt": 0, "delivery": {} }, "isSmsBalanceNotification": false, "designId": "AIV", "updatedAt": 1666666666, "version": 1 } ``` #### **v2.cardLimits.calculate** ```json theme={null} { "withdrawal": { "currencyId": "EUR", "switch": { "enabled": true, "value": true }, "transaction": { "default": 1500, "max": 3000, "value": 1500 }, "daily": { "default": 1500, "max": 3000, "value": 1500, "used": 0, "available": 1500, "reset": 1774483200 }, "monthly": { "default": 5000, "max": 10000, "value": 5000, "used": 0, "available": 5000, "reset": 1775001600 } }, "internetPurchase": { "currencyId": "EUR", "switch": { "enabled": true, "value": true }, "transaction": { "default": 2000, "max": 12500, "value": 2000 }, "daily": { "default": 4000, "max": 25000, "value": 4000, "used": 0, "available": 4000, "reset": 1774483200 }, "monthly": { "default": 10000, "max": 50000, "value": 10000, "used": 0, "available": 10000, "reset": 1775001600 } }, "contactlessPurchase": { "currencyId": "EUR", "switch": { "enabled": true, "value": true }, "transaction": { "default": 1000, "max": 12500, "value": 1000 }, "daily": { "default": 2000, "max": 25000, "value": 2000, "used": 0, "available": 2000, "reset": 1774483200 }, "monthly": { "default": 10000, "max": 50000, "value": 10000, "used": 0, "available": 10000, "reset": 1775001600 } } } ``` #### **v2.cardLimits.updated** ```json theme={null} { "id": "00000000-0000-0000-0000-000000000000", "updatedAt": 1667484942666 } ``` #### **v2.cardLimits.updateError** ```json theme={null} { "id": "00000000-0000-0000-0000-000000000000", "message": "string" } ``` # How can I check all payments related to some specific wallet? Source: https://docs.finsei.com/getting-started/see-all-wallet-payments To check all payments related to the wallet, execute [`GET /v2/payment`](/api-reference/endpoint/get-v2-payment) method with `walletId` parameter where `walletId = id` of the wallet you want to check payments for. **Payment direction (type)** The type field represents the direction of the payment. Possible values: * debit - outgoing transaction (funds deducted from wallet) * credit - incoming transaction (funds added to wallet) ❗ Only these two values are possible. No other values are returned by the API. # What is ‘status’ for payment? Source: https://docs.finsei.com/getting-started/status-for-payment There are two statuses available for outgoing payments creation: draft and new. Draft payments can be created for wallets with no balance and be signed and processed in future or it can be debit payments that weren't signed by the client yet. Status new is for new debit or credit payments that are not in process yet. There are statuses of outgoing payments you can see: * `Draft` * `New` * `Compliance` * `Process` * `Completed` * `Canceled` * `Rejected` The most typical flows of status change for outgoing payments are the following: * Draft → New → Compliance → Process → Completed * New → Canceled * Draft → New → Compliance → Rejected The 'Draft' and 'Compliance' statuses are optional. A payment in 'Draft' status is a preliminary record that is not yet ready for execution. It serves as a placeholder or template for the intended payment. To progress the payment through the system, it must be signed using the POST /v3/payment/sign method. Only after successful signing will the payment transition to the next stage of the processing lifecycle. Status 'Cancelled' is final and can be performed by the user via the POST /v1/payment/id/cancel method. Only payments in status 'New' can be cancelled. 'Completed' and 'Rejected' statuses are final. > *Please note that if you have not received any of the final statuses mentioned above, you cannot position the payment as executed. In case you get an error or any response that doesn't allow you to identify the payment as executed, please contact support.* # How can I top up a wallet via Open Banking? Source: https://docs.finsei.com/getting-started/top-up-wallet-via-open-banking Learn how to top up a Finsei wallet from a bank account using Open Banking. Open Banking allows a customer to add money to a Finsei wallet directly from their bank account. ## Before you start You need: * an active Open Banking feature; * a UUID identifying the payer; * an optional webhook subscription or WebSocket connection for receiving status updates. Use [`GET /v3/wallet`](/api-reference/endpoint/get-v3-wallet) or [`GET /v3/wallet/{id}`](/api-reference/endpoint/get-v3-wallet-id) and check the following wallet permission: ```json theme={null} { "permissions": { "canDepositFromOpenBanking": true } } ``` > [!WARNING] > > Do not start an Open Banking deposit when > `permissions.canDepositFromOpenBanking` is `false`. Open Banking deposits are currently available only for eligible EUR wallets. ## Open Banking flow ### 1. Get the list of available countries Call [`GET /v1/wallet/{id}/deposit/bank/list/country`](/api-reference/endpoint/get-v1-wallet-id-deposit-bank-list-country) to retrieve the supported countries. Example response: ```json theme={null} [ { "id": "DE", "label": "Germany" }, { "id": "LT", "label": "Lithuania" } ] ``` Pass the selected country code as `countryId`. ### 2. Calculate the deposit fee Call [`POST /v1/wallet/{id}/deposit/bank/fee`](/api-reference/endpoint/post-v1-wallet-id-deposit-bank-fee) to validate the deposit and calculate its fee without creating a deposit operation. Example request: ```json theme={null} { "payerId": "550e8400-e29b-41d4-a716-446655440000", "amount": 100.01, "countryId": "LT" } ``` Example response: ```json theme={null} { "fee": 1.5, "total": 98.51, "currencyId": "EUR" } ``` The response fields have the following meanings: | Field | Description | | - | - | | `fee` | Open Banking deposit fee | | `total` | Amount credited to the wallet after the fee | | `currencyId` | Wallet currency | > [!NOTE] > > The calculated fee is a quote. The final fee is fixed when the deposit > operation is created. ### 3. Start the deposit Call [`POST /v1/wallet/{id}/deposit/bank`](/api-reference/endpoint/post-v1-wallet-id-deposit-bank) to create the deposit operation and obtain the bank authorisation URL. We recommend providing your own unique `id`. This allows you to correlate the request with webhook or WebSocket events even if the Open Banking operation cannot be started. Example request: ```json theme={null} { "id": "019a1234-5678-7123-8123-123456789abc", "payerId": "550e8400-e29b-41d4-a716-446655440000", "amount": 100.01, "countryId": "LT", "successUrl": "https://merchant.example.com/open-banking/success", "cancelUrl": "https://merchant.example.com/open-banking/cancel", "expiryUrl": "https://merchant.example.com/open-banking/expired" } ``` Successful response: ```json theme={null} { "id": "019a1234-5678-7123-8123-123456789abc", "redirectUrl": "https://bank.example.com/payment" } ``` The successful response status is `200 OK`. | Field | Description | | - | - | | `id` | Open Banking deposit operation UUID | | `redirectUrl` | Hosted bank page where the customer must confirm the payment | ### 4. Redirect the customer Open the returned `redirectUrl` in the customer's browser. The customer will: 1. select their bank; 2. authenticate with the bank; 3. review the payment details; 4. authorise the payment. After completing the bank flow, the customer is redirected to one of the URLs provided in the deposit request: | Request field | When it is used | | - | - | | `successUrl` | The bank authorisation flow finished without a redirect error | | `cancelUrl` | The customer cancelled the authorisation | | `expiryUrl` | The bank consent expired | If a URL is not comitted, the default Finsei return URL is used. > [!WARNING] > > A redirect to `successUrl` confirms only that the authorisation flow > finished without a redirect error. It does not confirm that the wallet > has been credited. ### 5. Track the deposit status Use Finsei webhooks or WebSocket events to track the deposit after the customer has been redirected to their bank. The operation can have the following statuses: | Status | Description | | - | - | | `PENDING_USER_ACTION` | The hosted bank page has been created and the customer must authorise the payment | | `PENDING_CREDIT` | The provider reported that the payment was completed, but the incoming bank transfer has not yet been credited | | `SETTLED` | The incoming payment was received and the Finsei wallet was credited | | `FAILED` | The hosted payment could not be created or the payment was reported as failed | | `EXPIRED` | The bank authorisation expired | Use `SETTLED` as the confirmation that the wallet has been credited. ## Webhook notifications To receive server-to-server Open Banking status notifications, subscribe to the following events: * `v1.openBankingIntent.create` * `v1.openBankingIntent.update` Configure the webhook using [`PATCH /v2/webhook`](/api-reference/endpoint/patch-v2-webhook). The list of events available for subscription can be obtained using [`GET /v2/webhook/event`](/api-reference/endpoint/get-v2-webhook-event). ### `v1.openBankingIntent.create` This event is sent when the hosted bank page is ready and the operation changes to `PENDING_USER_ACTION`. Example payload: ```json theme={null} { "id": "019a1234-5678-7123-8123-123456789abc", "walletId": "550e8400-e29b-41d4-a716-446655440001", "status": "PENDING_USER_ACTION", "amount": 100, "currencyId": "EUR", "redirectUrl": "https://bank.example.com/payment" } ``` ### `v1.openBankingIntent.update` This event is sent when the deposit operation status changes. Example payload: ```json theme={null} { "id": "019a1234-5678-7123-8123-123456789abc", "walletId": "550e8400-e29b-41d4-a716-446655440001", "status": "PENDING_CREDIT", "amount": 100, "currencyId": "EUR" } ``` The event can contain one of the following statuses: * `PENDING_CREDIT` * `SETTLED` * `EXPIRED` * `FAILED` The `FAILED` event is also sent when [`POST /v1/wallet/{id}/deposit/bank`](/api-reference/endpoint/post-v1-wallet-id-deposit-bank) cannot start the deposit and returns: ```json theme={null} { "status": "ERROR", "errors": { "wallet": "Unable to start deposit, please try again later" } } ``` > [!NOTE] > > If you provide `id` in the deposit request, the same value is returned in > webhook and WebSocket events. This makes failed requests easier to correlate. ## Late incoming payments The actual incoming bank transfer is the source of truth for wallet crediting. A bank transfer can arrive after an earlier `FAILED` or `EXPIRED` status. When Finsei receives a matching incoming payment: 1. the incoming credit payment is created; 2. the wallet is credited; 3. the Open Banking operation changes to `SETTLED`; 4. an updated webhook and WebSocket event are sent. Your integration must accept a later `SETTLED` event even if it previously received `FAILED` or `EXPIRED`. ## Request validation The deposit amount: * is required; * must have no more than two decimal places; * must be within the configured deposit limits. `payerId` must be a valid UUID. `countryId` must be a supported ISO 3166-1 alpha-2 country code. Redirect URLs must use the `http` or `https` scheme. To validate a request without creating a deposit operation, call: [`POST /v1/wallet/{id}/deposit/bank?validate=1`](/api-reference/endpoint/post-v1-wallet-id-deposit-bank) Successful validation response: ```json theme={null} { "status": "VALIDATE", "errors": [] } ``` Example response with validation errors: ```json theme={null} { "status": "VALIDATE", "errors": { "countryId": "Country XX is not available" } } ``` ## Possible errors | HTTP status | Description | | - | - | | `401` | The access token is missing or invalid | | `403` | Open Banking deposits are temporarily unavailable | | `404` | The wallet was not found, is inactive or is not accessible to the current user | | `422` | The request is invalid or the hosted payment could not be created | # Finsei Developer Docs Source: https://docs.finsei.com/index Welcome to the Finsei Developer Documentation — your guide to integrating and working with Finsei’s financial API tools. ### About Finsei Finsei is a digital banking platform designed to simplify financial services for SMEs and individual users. We offer multi-currency business accounts, virtual and physical Visa cards, e-wallets, and seamless integration with payment systems like Apple Pay. Licensed and regulated by the UK’s Financial Conduct Authority (FCA), Finsei combines trusted compliance with modern financial technology. Our APIs are built to save you time, reduce costs, and simplify operations — whether you're creating accounts, issuing cards, or automating payments. ### Why Finsei? Fast & simple onboarding Open business accounts quickly and start operating in minutes. Reliable and scalable APIs Process payments, manage users, and control cards through robust endpoints. Security and compliance first Regulated by the FCA and secured with modern infrastructure and fraud detection tools. Transparent pricing No hidden fees. Simple, competitive, and predictable. # Status page Source: https://docs.finsei.com/status-page System status and incident history. You can access the [Status Page](https://status.finsei.com/) to view the status of system components and subscribe to notifications using your preferred method. Any past incidents and upcoming scheduled updates that may affect system operations will also be displayed there. # Support Source: https://docs.finsei.com/support For any questions or problems related to integration, please contact [dina.osipova@finsei.com](mailto:dina.osipova@finsei.com) # Who is this for? Source: https://docs.finsei.com/who-is-this-for Welcome to the Finsei Integration Guide. This documentation is intended for teams planning to integrate with Finsei. It provides all the necessary technical and procedural information to ensure a smooth and secure connection to our platform. Whether you're a fintech startup or an established payment provider, this guide will help you get started. For any questions or issues related to integration, please contact [dina.osipova@finsei.com](mailto:dina.osipova@finsei.com)