curl --request POST \
--url https://qa-api.sbx.solidfi.com/v1/batch/intrabank \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"accountId": "{{accountId}}",
"amount": "25.00",
"api": "send",
"contactId": "{{contactId}}",
"description": "Funding",
"sequence": "1",
"title": "Batch intrabank 1"
},
{
"accountId": "{{accountId}}",
"amount": "25.00",
"api": "receive",
"contactId": "{{contactId}}",
"description": "Pull",
"sequence": "2",
"title": "Batch intrabank 2"
}
]
}'
{
"batchId": "bch-eabf1eb3-70a6-4ce0-ac01-3ffca4e6f86f",
"completedAt": "",
"createdAt": "2023-11-20T08:34:46Z",
"failedCount": 0,
"modifiedAt": "2023-11-20T08:34:46Z",
"status": "submitted",
"successCount": 0,
"totalCount": 2,
"transferType": "intrabank"
}
Use this API to create a payout from an account.
Below fields are mandatory
{
"accountId": "{{accountId}}",
"contactId": "{{contactId}}",
"amount": "200"
}
status field in response can have below values.
curl --request POST \
--url https://qa-api.sbx.solidfi.com/v1/batch/intrabank \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"accountId": "{{accountId}}",
"amount": "25.00",
"api": "send",
"contactId": "{{contactId}}",
"description": "Funding",
"sequence": "1",
"title": "Batch intrabank 1"
},
{
"accountId": "{{accountId}}",
"amount": "25.00",
"api": "receive",
"contactId": "{{contactId}}",
"description": "Pull",
"sequence": "2",
"title": "Batch intrabank 2"
}
]
}'
{
"batchId": "bch-eabf1eb3-70a6-4ce0-ac01-3ffca4e6f86f",
"completedAt": "",
"createdAt": "2023-11-20T08:34:46Z",
"failedCount": 0,
"modifiedAt": "2023-11-20T08:34:46Z",
"status": "submitted",
"successCount": 0,
"totalCount": 2,
"transferType": "intrabank"
}
Create an Intrabank Batch
The response is of type object
.