CollectPaymentInput
Input fields
The account number.
The payment amount (in pence).
The type of the payment instruction.
The reason a payment is being collected, for internal audit purposes.
The ID of the ledger on which to collect the payment.
Deprecation
The 'ledgerId' field is deprecated.Please use 'ledgerNumber' instead. This is in the form of 'L-123456789A'
- Marked as deprecated on 2024-10-22.
- Scheduled for removal on or after 2025-06-25.
The number of the ledger on which to collect the payment.
The date to attempt to take the payment. Cannot be a date in the past. Payment will be collected on the requested date or as soon as possible after that date.
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
Example
{
"accountNumber": "A-3372353E",
"amount": 63,
"collectionMethod": "BPAY",
"description": "where-budget-over-impact-brother",
"idempotencyKey": "far-eat-see-about-couple",
"ledgerNumber": "keep-again-physical-paper-structure",
"paymentDate": "1981-09-09"
}