Create a refund.

POST {{baseUrl}}/v4/refunds

Creates a refund. (see note)

Use with caution. This action creates an Unlinked Refund that is not associated with an Podium Invoice or Payment. This current implementation only works with a Podium Payment Card Reader, reading the customer's credit card data before debiting the refunded amount.

Upcoming change: When this resource supports refunding a Podium Invoice, /invoices/uid/refund is planned to be deprecated.

Request Body

{"amount"=>4186, "channelIdentifier"=>"email@email.com", "customerName"=>"Barry Grape", "locationUid"=>"00000000-0000-0000-0000-000000000000", "readerUid"=>"00000000-0000-0000-0000-000000000000", "reason"=>"fraudulent", "accountUid"=>"00000000-0000-0000-0000-000000000000"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"data":{"amount":100,"cardBrand":"visa","cardLast4":"4242","createdAt":"2015-01-23T23:50:07Z","location":{"uid":"00000000-0000-0000-0000-000000000000"},"notes":["The product did not function properly.","The product did not function properly."],"reason":"duplicate","settledAt":"2015-01-23T23:50:07Z","status":"failed_unknown","uid":"00000000-0000-0000-0000-000000000000"},"metadata":{"url":"https://www.podium.com/"}}