Create credit transfer batch
Changed onCreate a batch of credit transfer payments.
See https://docs.atlar.com/docs/batch-payments for more information.
Request
- Base URLhttps://api.atlar.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"treatment": "INDIVIDUAL_PAYMENTS",
"payments": [
{
"amount": {
"currency": "EUR",
"value": 1502
},
"scheme": "SCT",
"schemeDetails": {
"instrument": {
"type": "CITI_WORLDLINK"
}
},
"date": "2022-05-07",
"source": {
"type": "ACCOUNT",
"id": "31d593d7-fff9-4783-aa1d-92acb7b21a19"
},
"destination": {
"type": "ACCOUNT",
"id": "31d593d7-fff9-4783-aa1d-92acb7b21a19"
},
"referenceType": "CREDITOR_REFERENCE",
"categoryPurpose": "SALA",
"chargeBearer": "SHARED",
"regulatoryReporting": [
{
"market": "DE",
"indicator": "CREDITOR"
}
],
"taxDetails": {
"type": "PL_MPP",
"amount": {
"currency": "EUR",
"value": 1502
},
"creditorId": "1234567890",
"invoiceNumber": "FV/2024/001"
},
"fxInstruction": {
"rate": {
"unitCurrency": "EUR"
}
},
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"metadata": {
"my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
},
"paymentScheduleId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
}
],
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"metadata": {
"my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
}
}Response
The created credit transfer batch.
Example response
{
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
"treatment": "INDIVIDUAL_PAYMENTS",
"input": {
"sums": [
{
"currency": "EUR",
"stringValue": "15.02",
"value": 1502
}
],
"content": {
"size": 4711,
"checksum": "sha256:08343d976a896e8563b4915c84878207199b5fa139d3edde1bd77d99339bd18c",
"filename": "batch-2022-05-07.csv"
}
},
"inputContent": {
"size": 4711,
"checksum": "sha256:08343d976a896e8563b4915c84878207199b5fa139d3edde1bd77d99339bd18c",
"filename": "batch-2022-05-07.csv"
},
"inputDetails": {
"sums": [
{
"currency": "EUR",
"stringValue": "15.02",
"value": 1502
}
]
},
"results": {
"sums": [
{
"currency": "EUR",
"stringValue": "15.02",
"value": 1502
}
]
},
"resultDetails": {
"sums": [
{
"currency": "EUR",
"stringValue": "15.02",
"value": 1502
}
]
},
"status": "COMPLETED",
"errors": [
{
"code": "invalid_value",
"error": "Must be one of [direct_debits mandates payments]",
"field": "filter.0.resource",
"metadata": {
"resource": "credit_transfers",
"method": "read"
}
}
],
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"creatorUserId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"sourceAccountIds": [
"2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
],
"metadata": {
"my_metadata_key": "2a9a79b9-601c-449b-aa05-432f41dbbc4a"
},
"etag": "version:3",
"version": 1,
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z"
}Changes
- breaking
removed the enum value
CN_CTof the request property// - breaking
removed the required property
from the response with the status - info
added the new optional request property
//////// - info
added the new optional request property
//////// - info
added the new optional request property
// - info
added the new
BD_BRNenum value to the request property///////// - info
added the new
BD_CT_BEFTNenum value to the request property// - info
added the new
BD_CT_RTGSenum value to the request property// - info
added the new
CL_CTenum value to the request property// - info
added the new
CN_CT_BEPSenum value to the request property// - info
added the new
CN_CT_HVPSenum value to the request property// - info
added the new
CO_CTenum value to the request property// - info
added the new
CR_CTenum value to the request property// - info
added the new
CZ_NBCenum value to the request property///////// - info
added the new
DK_CT_T2enum value to the request property// - info
added the new
GE_CT_RTGSenum value to the request property// - info
added the new
HK_CT_CHATSenum value to the request property// - info
added the new
HK_CT_FPSenum value to the request property// - info
added the new
HU_CT_GIROenum value to the request property// - info
added the new
HU_CT_VIBERenum value to the request property// - info
added the new
KE_CT_RTGSenum value to the request property// - info
added the new
MA_CTenum value to the request property// - info
added the new
MU_CTenum value to the request property// - info
added the new
MX_CT_SPEIenum value to the request property// - info
added the new
MX_CT_TEFenum value to the request property// - info
added the new
MY_CT_JOMPAYenum value to the request property// - info
added the new
MY_JOMPAY_BILLER_CODEenum value to the request property///////// - info
added the new
MY_JOMPAY_BILLER_CODEenum value to the request property////////// - info
added the new
PE_CTenum value to the request property// - info
added the new
PH_BRSTNenum value to the request property///////// - info
added the new
SA_CT_SARIEenum value to the request property// - info
added the new
SG_CT_GIROenum value to the request property// - info
added the new
SG_CT_MEPSenum value to the request property// - info
added the new
TH_CT_BAHTNETenum value to the request property// - info
added the new
TH_CT_SMARTenum value to the request property// - info
added the new
TW_CT_ACHenum value to the request property// - info
added the new
TW_CT_FISCenum value to the request property// - info
added the new
WALLET_AIRWALLEX_NUMBERenum value to the request property///////// - info
added the new
WALLET_AIRWALLEX_NUMBERenum value to the request property////////// - info
added the new
WALLET_UNITenum value to the request property///////// - info
added the new
WALLET_UNITenum value to the request property////////// - info
added the new
ZA_CT_EFTenum value to the request property// - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
to the response with the status
- breaking