Try it out in Postman: View Postman Collection
Try it out in Postman: View Postman Collection
Sending funds from one of your iBanFirst accounts to your own bank account or a third-party recipient involves two steps:
Generate the payment object with the 'Submit Payment' method.
A unique id is assigned to each payment.
Use the 'Confirm Payment' method to send the payment for processing. When you confirm a payment, make sure you have sufficient funds in your account balance.
Caution:
Payments are automatically rolled to the next closest working days if not confirmed in the scheduled date of operation. If the balance of your account is not sufficient to cover the payment amount, funds may be locked-in by iBanFirst.
Before doing any payments, you may use this request to get priority and fee options available for a given account and beneficiary.
You will also get fee cost for each priorityPaymentOption
and feePaymentOption
combinations, and minimal source and target amount for this combination.
Note : you may also use this request to get the cost of a payment.
curl -i -X GET \
'https://sandbox.ibanfirst.com/api/payments/options/{walletId}/{externalBankAccountId}/'
{ "paymentOption": { "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "options": [ … ] } }
The payment to post
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
Representation of an amount.
A String representing a date by its year, month and day in month.
A String representing the Three-digit ISO 4217 Currency Code of a currency. This String only contains capitalized letters.
A code representing the charges option to be applied to this payment.
A code representing whether this payment has a standard priority, or a priority treatment.
A custom reference that you want to link to this payment in the system. This tag is not communicated to the beneficiary.
curl -i -X POST \
https://sandbox.ibanfirst.com/api/payments/ \
-H 'Content-Type: application/json' \
-d '{
"sourceWalletId": "Na5Dv6E",
"externalBankAccountId": "Na5Dv6E",
"amount": {
"value": "2.257",
"currency": "USD"
},
"desiredExecutionDate": "2016-01-01",
"feeCurrency": "USD",
"feePaymentOption": "BEN",
"priorityPaymentOption": "48H",
"tag": "string",
"communication": "string"
}'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
{ "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { "value": "2.257", "currency": "USD" }, "counterValue": { "value": "2.257", "currency": "USD" }, "rate": { "currencyPair": "EURUSD", "midMarket": "2.257", "date": "2016-01-01 00:00:00", "coreAsk": "2.257", "coreBid": "2.257", "appliedAsk": "2.257", "appliedBid": "2.257" }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { "value": "2.257", "currency": "USD" } }
curl -i -X PUT \
'https://sandbox.ibanfirst.com/api/payments/{id}/confirm'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
{ "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { "value": "2.257", "currency": "USD" }, "counterValue": { "value": "2.257", "currency": "USD" }, "rate": { "currencyPair": "EURUSD", "midMarket": "2.257", "date": "2016-01-01 00:00:00", "coreAsk": "2.257", "coreBid": "2.257", "appliedAsk": "2.257", "appliedBid": "2.257" }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { "value": "2.257", "currency": "USD" } }
We may ask you to provide a proof of transaction under specific terms. You can anticipate our request and send us your invoice or the ID of the beneficiary to avoid any request from us and fully automate your payment process. To send a file with this request, you have to extract the content of the file with a binary format, and encode it with a base64 algorithm to put in in the “file” field.
The proof of transaction to upload
curl -i -X PUT \
'https://sandbox.ibanfirst.com/api/payments/{id}/proofOfTransaction/' \
-H 'Content-Type: application/json' \
-d '{
"documentType": "invoice",
"tag": "string",
"file": "string"
}'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
{ "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { "value": "2.257", "currency": "USD" }, "counterValue": { "value": "2.257", "currency": "USD" }, "rate": { "currencyPair": "EURUSD", "midMarket": "2.257", "date": "2016-01-01 00:00:00", "coreAsk": "2.257", "coreBid": "2.257", "appliedAsk": "2.257", "appliedBid": "2.257" }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { "value": "2.257", "currency": "USD" } }
curl -i -X GET \
'https://sandbox.ibanfirst.com/api/payments/_{status}/?fromDate=string&page=1&per_page=50&sort=ASC&toDate=string'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
[ { "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { … }, "counterValue": { … }, "rate": { … }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { … } } ]
curl -i -X GET \
'https://sandbox.ibanfirst.com/api/payments/{id}'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
{ "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { "value": "2.257", "currency": "USD" }, "counterValue": { "value": "2.257", "currency": "USD" }, "rate": { "currencyPair": "EURUSD", "midMarket": "2.257", "date": "2016-01-01 00:00:00", "coreAsk": "2.257", "coreBid": "2.257", "appliedAsk": "2.257", "appliedBid": "2.257" }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { "value": "2.257", "currency": "USD" } }
curl -i -X DELETE \
'https://sandbox.ibanfirst.com/api/payments/{id}'
OK
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code identifying the payment status.
A String representing a date by its year, month, day in month, hour, minute and second.
A String representing a date by its year, month and day in month.
A String representing a date by its year, month and day in month.
The custom reference related to the payment. (For internal use only, not communicated to the beneficiary).
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
A String representing the id of an object. This string contains alpha-numeric characters, including the capital ones.
The code representing whether this payment as a normal priority or if it as to be treated with a priority status by all the routing banks.
The code identifying the charges option for this payment.
{ "id": "Na5Dv6E", "status": "planified", "createdDate": "2016-01-01 00:00:00", "desiredExecutionDate": "2016-01-01", "executionDate": "2016-01-01", "amount": { "value": "2.257", "currency": "USD" }, "counterValue": { "value": "2.257", "currency": "USD" }, "rate": { "currencyPair": "EURUSD", "midMarket": "2.257", "date": "2016-01-01 00:00:00", "coreAsk": "2.257", "coreBid": "2.257", "appliedAsk": "2.257", "appliedBid": "2.257" }, "tag": "string", "externalBankAccountId": "Na5Dv6E", "sourceWalletId": "Na5Dv6E", "communication": "string", "priorityPaymentOption": "48H", "feePaymentOption": "BEN", "feePaymentAmount": { "value": "2.257", "currency": "USD" } }
The API provides a deliverable FX facility and deliverable FX liquidity. You will become counterparty to iBanFirst and can market and sell deliverable FX services to corporate and private clients as well as using such services on their behalf.
FX trades are always made between two accounts of a unique counterparty. iBanFirst will automatically debit the source account and credit the delivery account at the date specified in the FX trade instructions. If the delivery date has been scheduled, the delivery is automatically processed in the morning before 00:30 am Paris time. If the delivery date is today (TOD), the funds is available on your account by the next 20mn.
A FX trades also involves an amount, which includes both the numeric amount and the currency in order to define if this amount is the nominal to be bought or sold, for example: '100000.00+GBP'.