curl --location --request POST '/orgs//payments' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",
"payments": [
{
"invoiceId": "string",
"invoiceNumber": "string",
"uniqueSourcePaymentId": "string",
"type": 0,
"amount": 0,
"currency": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string"
}
]
}'"{\n \"summary\": {\n \"status\": \"SUCCESS\"\n },\n \"data\": {\n \"batchId\": \"ae257e86-dc53-4865-9c97-5b125a3a5ac2\",\n \"batchUrl\": \"https://api.amili.no/collection/v1/batches/ae257e86-dc53-4865-9c97-5b125a3a5ac2\"\n }\n}"