Create a new customer payment to be disbursed to invoices and/or customer's outstanding balance
New customer payment
Customer payment created
Bad Request
Unauthorized
Forbidden
{- "customerId": 1,
- "amountInMajorCurrency": 10.5,
- "description": "string",
- "reference": "string",
- "type": "CHEQUE",
- "billRunType": "NORMAL"
}
{- "id": 1,
- "customerId": 1,
- "amountInMajorCurrency": 10.5,
- "resultingCustomerBalance": 10.5,
- "currencyId": 1,
- "description": "string",
- "reference": "string",
- "type": "CHEQUE",
- "paymentDate": "2019-08-24",
- "customerPaymentType": "CUSTOMER",
- "txnType": "INVOICE_CREATED",
- "invoiceNumber": "string",
- "invoiceId": 0,
- "billRunType": "NORMAL"
}