curl --location --request POST 'https://sandbox.paypoint.blackkonnect.io/services/blackkonnectpaypointswitch/api/bill-payments/charges/calculate' \
--header 'X-Request-ID: 3d8f0c44-d4c7-4c7b-8a67-78e34b4d947e' \
--header 'X-ServiceAccount-ID: 0e92f7e6-8b2a-11ec-b909-0242ac120002' \
--header 'X-Organisation-ID: d321b5af-6e4b-4e47-87d2-7f7eabc84c5f' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerId": "750001",
"billDetails": {
"currency": "string",
"id": "1",
"customerIdWithBiller": "GT5482AB",
"reference": "C4920F94022",
"amount": 12.99,
"minimumAmount": 12.99,
"maximumAmount": 12.99,
"dueDate": "2019-08-24",
"additionalData": [
{
"custom-fields": {
"property1": "string",
"property2": "string"
}
}
]
},
"sourceId": "BRANCH-TELLER"
}'