Guides

Bank Payments
Overview
Setting up mandatesDirect Debit Mandates Verified Mandates PayTo Agreements and Payments Build a client to create mandates offline Supporting mandates set up outside of your product Importing Mandates Blocking mandates
One-off paymentsTaking an Instant Bank Payment Taking a one off payment
Recurring paymentsTaking Subscription payments Taking Instalment payments Variable Recurring Payments
Combining one-off and recurring paymentsTake a first Instant Payment with mandate
 set up
Responding to eventsResponding to Mandate Events Responding to Billing Requests Events
FX Payments Reconciling Payouts ACH and PAD Consent Types

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 Debit Debit payment.

For this reason we'll now call the Payments API.

1POST https://api.gocardless.com/payments HTTP/1.1 2Content-Type: application/json 3{ 4 "payments": { 5 "amount": 123, 6 "currency": "GBP", 7 "reference": "Wine Box", 8 "charge_date": "2026-12-31", 9 "links": { 10 "mandate": "MD123" 11 }, 12 "metadata": { 13 "internal_order_number": "ID123" 14 }, 15 } 16} 17 18HTTP/1.1 201 Created 19Location: /payments/PM123 20Content-Type: application/json 21{ 22 "payments": { 23 "id": "PM123", 24 "scheme": "bacs" 25 ... 26 "charge_date": "2026-12-31", 27 "amount": 123, 28 ... 29 "status": "pending_submission", 30 ... 31 "links": { 32 "mandate": "MD123", 33 "creditor": "CR123" 34 }, 35 ... 36 } 37}

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 here), 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.

What's next?

Taking an Instant Bank Payment