Collecting a Direct Debit payment#
After calling the Billing Request with Actions we will now use the mandate ID (MD123) from the API response in order to create a Direct Debit payment.
For this reason we'll now call the Payments API.
Note that the amount needs to be provided in the lowest denomination for the currency (e.g. pence in GBP, cents in EUR).
You can decide to either provide a charge_date (needs to be later than the next_possible_charge_date, as described in the mandates API reference), or let GoCardless create the payment as soon as possible.
You would then be able to see the date that the payment will be taken by looking at the charge_date in the response.