Developer

Partner Docs

Merchant Docs

Refund a payment session

This page describes how to get the customer details for a previously completed transaction. Use the customer details to initiate a refund from your bank.

Refunds typically must be issued against a previously completed transaction. The steps below describe the payment and refund process:

  1. Initiate a payment as described on the Create a Payment Session page.

  2. Once a payment has been processed, Banked sends a webhook notification that includes a transaction ID.

  3. When you receive a refund request, send a GET request to v2/payment_sessions/[id]/consumer_account. Replace [ID] in the path with the transaction ID you received when the payment was processed.

    The /consumer_account resource returns the bank account details for the customer.

  4. Use the customer's bank account details to initiate a refund through your bank.

support@banked.com
Dark Theme
© 2024