Transfers (obsolete)
The Pay product should be preferred to these services as it handles PSD2-compliant use-cases.
API endpoints
Authentication: endpoints listed in this page require header authentication with a user token.
List recipients
GET
https://{domain}.biapi.pro/2.0/users/{userId}/recipients
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
Response body: RecipientsList object
List recipient categories
GET
https://{domain}.biapi.pro/2.0/users/{userId}/recipientCategories
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
Response body: RecipientCategoriesList object
Add a recipient
POST
https://{domain}.biapi.pro/2.0/users/{userId}/accounts/{accountId}/recipients
Request body: RecipientCreationRequest object
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
accountId* | Integer | ID of the related account. |
Response body: Recipient object
Update a recipient
POST
https://{domain}.biapi.pro/2.0/users/{userId}/accounts/{accountId}/recipients/{recipientId}
Request body: Key-value object build from the requested fields
.
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
accountId* | Integer | ID of the related account. |
recipientId* | Integer | ID of the recipient. |
Response body: Recipient object
Create a transfer
POST
https://{domain}.biapi.pro/2.0/users/{userId}/transfers
Request body: TransferCreationRequest object
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
Response body: Transfer object
List transfers
GET
https://{domain}.biapi.pro/2.0/users/{userId}/transfers
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
Response body: TransfersList object
Get a transfer
GET
https://{domain}.biapi.pro/2.0/users/{userId}/transfers/{transferId}
Get a single transfer by ID.
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
transferId* | Integer | ID of the transfer. |
Response body: Transfer object
Update a transfer
POST
https://{domain}.biapi.pro/2.0/users/{userId}/transfers/{transferId}
Request body: TransferUpdateRequest object
Path Parameters
Name | Type | Description |
---|---|---|
userId* | Integer or "me" | ID of the related user. |
accountId* | Integer | ID of the related account. |
recipientId* | Integer | ID of the recipient. |
Response body: Transfer object
Data model
RecipientsList object
Property | Type | Description |
---|---|---|
| Array of Recipient objects | List of recipients. |
Recipient object
Property | Type | Description |
---|---|---|
| Integer | ID of the recipient. |
| Integer | ID of the related emitter bank account. |
| Integer or null | If this recipient represents a known aggregated account as an internal transfer destination, ID of the related destination bank account. |
| String | Name of the recipient. |
| String or null | IBAN of the recipient, if available. |
| String or null | BIC code of the recipient, if available. |
| String or null | Name of the bank holding the recipient account, if available. |
| DateTime or null | Enable date of the recipents. Transfers to disabled recipients is not possible. |
| RecipientState string of null | The sync status of this recipient. The null value indicates a successful sync. |
| Array of ConnectorField objects or null | If validation of the recipient requires credentials input, this list of relevant fields that must be prompted to the end-user. |
| String or null | If the recipient is in an error state, the optional bank message. |
RecipientState values
Value | Description |
---|---|
| The authentication on website has failed. |
| Additional information is needed such as an OTP. |
| The connector website is unavailable. |
| An action is needed on the website by the user, scraping is blocked. |
| Requires a user validation on a third-party app or device (ex: digital key). |
| A bug has occurred during the synchronization. |
RecipientCategoriesList object
Property | Type | Description |
---|---|---|
| Array of strings | List of recipient categories. |
RecipientCreationRequest object
Property | Type | Required | Description |
---|---|---|---|
| String | Yes | The IBAN of the recipient. |
| String | Yes | The name of the recipient. |
| String | No | The category of the recipient, if needed. |
| Boolean | No | Flag to make the request asynchronous (i.e. the API will respond immediately and process the registration with the bank in background). When using this option, you must implement polling on the recipient to monitor the state. |
TransferCreationRequest object
Name | Type | Required | Description |
---|---|---|---|
| Integer | Yes | ID of the emitter account. |
| Decimal | Yes | Amount of the transfer. The currency is set by the emitter account. |
| String | No | Label of the transfer. |
| BeneficiaryType string | Yes | Type of beneficiary. |
| Integer | No | ID of the recipient, for the |
| String | No | Identification of the beneficiary, according to the |
| String | No | Name of the beneficiary for the |
| Boolean | No | Flag to validate the transfer (submit to the bank). |
| Boolean | No | Flag to make the validation request asynchronous (i.e. the API will respond immediately and process the validation with the bank in background). When using this option, you must implement polling on the transfer to monitor the state. |
BeneficiaryType values
Value | Description |
---|---|
| Transfer to a registered beneficiary. |
| Direct transfer to an IBAN (without beneficiary addition). |
| Direct transfer to a phone number (without beneficiary addition). |
Transfer object
Property | Type | Description |
---|---|---|
| Integer | ID of the transfer. |
| Integer or null | ID of the related emitter bank account. |
| Integer or null | ID of the recipient, for the |
| BeneficiaryType string | Type of beneficiary. |
| String or null | Identification of the beneficiary, according to the |
| Date or null | Execution date of the transfer. |
| Decimal | Amount of the transfer. |
| Currency object | Currency of the transfer. |
| String | Label of the transfer. |
| TransferState string or null | State of the transfer. |
| Array of ConnectorField objects or null | If validation of the transfer requires credentials input, this list of relevant fields must be prompted to the end-user. |
| TransferValidateMechanism string | The mechanism to use to validate the transfer. |
| String or null | If the transfer is in an error state, the optional bank message. |
TransferState values
Value | Description |
---|---|
| The transfer is created in our API but not yet validated with the bank. |
| The transfer is being submitted to the bank. |
| The transfer has been submitted to the bank and is scheduled for future execution. |
| The transfer has been submitted to the bank, execution is in progress. |
| The transfer has been confirmed by the bank. |
| The transfer has been explicitly cancelled by the user. |
| The transfer is confirmed but the operation is still marked as coming. |
| The transfer was not found on the bank. |
| The transfer has been confirmed but the matching transaction is not found on the bank. |
| The authentication on the website has failed. |
| Additional information is needed such as an OTP. |
| The connector website is unavailable. |
| An action is needed on the website by the user, scraping is blocked. |
| Requires a user validation on a third-party app or device (ex: digital key). |
| A bug has occurred during the synchronization. |
TransferValidateMechanism values
Value | Description |
---|---|
| The transfer will be validated using a set of |
| The transfer will be validated using the |
TransfersList object
Property | Type | Description |
---|---|---|
| Array of Transfer objects | List of transfers. The list only includes transfers created by our API. |
| Date | Minimum available date for results. |
| Date | Maximum available date for results. |
| Date | Minimum date of results in the current response. |
| Date | Maximum date of results in the current response. |
TransferUpdateRequest object
Name | Type | Required | Description |
---|---|---|---|
| Integer | No | New ID of the emitter account. |
| Decimal | No | New transfer amount. The currency is set by the emitter account. |
| String | No | New label of the transfer. |
| BeneficiaryType string | No | New type of beneficiary. |
| Integer | No | New ID of the recipient, for the |
| String | No | New identification of the beneficiary, according to the |
| String | No | New name of the beneficiary for the |
| Boolean | No | Flag to validate the transfer (submit to the bank). |
To validate a transfer using the credentials
mechanism, you must include in the request the values from the connector fields
.
Last updated