curl --location --request POST 'https://sandbox.paypoint.blackkonnect.io/services/blackkonnectpaypointswitch/api/bill-payments/payments/validate' \
--header 'X-Request-ID: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
--header 'X-ServiceAccount-ID: 1dce8b76-49d5-4bde-b5dc-09a9fcef8f23' \
--header 'X-Organisation-ID: 9acb4c3f-7f6e-4fd5-a62a-4bcfa8d38e33' \
--header 'Idempotency-Key: fc828f3c-d6ef-4c10-93e4-8c53e3cfd456' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"sourcePaymentReference": "6319df06-c695-4ae9-a6dc-06a2d68a1605",
"debitAccountNumber": "47669210625",
"paymentAmount": 13.43,
"paymentDate": "2019-08-24",
"addReference1": "659102934df",
"addReference2": "889977",
"addReference3": "ccc45",
"addReference4": "Vodafone",
"addReference5": "post bill",
"sourceId": "BRANCH-TELLER",
"debitNarrativeLine1": "Vodafone|Internet",
"debitNarrativeLine2": "48838",
"creditNarrativeLine1": "48838",
"creditNarrativeLine2": "Susannah Wesley",
"channelId": "IBI",
"billPaymentDetails": {
"currency": "string",
"id": "1",
"customerIdWithBiller": "GT5482AB",
"reference": "C4920F94022",
"billAmount": 12.99,
"percentCustomerCharge": 35,
"totalChargeAmount": 0.44,
"chargeDetails": [
{
"chargeCode": "AD",
"customerChargeAmount": 0.4,
"originalChargeAmount": 1,
"taxCode": "VAT",
"customerTaxAmount": 0.04,
"originalTaxAmount": 0.1
}
],
"additionalData": [
{
"custom-fields": {
"property1": "string",
"property2": "string"
}
}
]
}
}'