v1

latestOpenAPI 3.1.0Apache 2.02026-07-2265186296.2 KB
External Transactions

Refund an external payment transaction

This is the endpoint to refund an external transaction on any of the supported providers. Use this endpoint if you have created a transaction with any of these providers outside of Meld's system, but want to perform the refund using Meld. Note that this will also cause the original transaction to be imported into Meld's system. Both partial and full refunds are supported.

post/payments/external/refund

Headers

X-Idempotency-Keystring uuid
Meld-Passthrough-Referencestring
Meld-Passthrough-Key-Idstring
Meld-Passthrough-Key-Publicstring
Meld-Passthrough-Key-Privatestring
Meld-Passthrough-Oauthstring

Request body

serviceProvider'AUTHORIZENET' | 'BRAINTREE' | 'CHECKOUT' | 'CIRCLE' | 'NMI' | 'STRIPE' required

The service provider that processed the original transaction

serviceTransactionIdstring required

The service provider's unique identifier for the original transaction

sourceAmountnumber required

Amount to be refunded. Can be a partial refund

Response

Payment successfully refunded