Refund Payment.

Refunds a payment record. Requires secret key.

⚠️ For Basic Authentication, use SECRET API KEY. Learn more →

Path Params
uuid
required

ID of payment record to be refunded

Body Params
string
required
length between 1 and 512

Reason for refunding the transaction.

totalAmount
object
required

Contains the value and currency of the transaction.

Headers
string

Contains signature information that is used to validate the integrity of the request. Only required if your integration is configured with Maya-Signature.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Choose an example:
application/json