curl --location --request POST '/orgs//payments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"payments": [
{
"invoiceId": "4f163819-178d-470c-a246-d6768476a6ec",
"type": "DIRECT_PAYMENT",
"amount": 0,
"currency": "string",
"date": "2019-08-24T14:15:22.123Z",
"description": "string",
"uniqueSourcePaymentId": "string"
}
]
}'{
"summary": {
"status": "SUCCESS"
},
"data": {
"batchId": "ae257e86-dc53-4865-9c97-5b125a3a5ac2",
"batchUrl": "https://api.amili.no/collection/v1/batches/ae257e86-dc53-4865-9c97-5b125a3a5ac2"
}
}