Refund payment

Refunds a captured payment to the shopper.

Leave out amountDetails to refund the full refundable amount. Send amountDetails to refund part of it. You can make several partial refunds, up to the captured amount.

To release money that hasn't been captured, use Cancel payment.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^[0-9A-HJKMNP-TV-Z]{26}$

Aera's unique ID for a payment. Use it to capture, cancel, refund, update or get the status of the payment.

Body Params

The request body for Refund payment.

amountDetails
object

The amount to refund. Leave out to refund the full refundable amount.

string

Your reference for this refund.

Headers
string
required
^[a-zA-Z0-9\-]{1,13}$

Your merchant ID from Aera.

uuid
required

A unique ID for this request, in UUID v7 format. Use a new key for every new request. If a request fails because of a timeout or network error, send it again with the same key. Aera then doesn't process it twice. It will remember this key for 30 days in the test system and two days in the production system. When a key is found the expected response will be returned.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.payments.v1+json