Skip to main content

Refund transaction

User can refund any existing transaction after being settled. It can only be performed on transactions, which have been authorised and settled. Authenticate this request using HTTP Basic Auth by adding a bearer token to the header, e.g. Authentication: Bearer {{access_token}}. You can get the {{access_token}} from the create token request.'''

Path Parameters
  • transaction_id string required

    The id of the transaction

Request Body
  • partial_refund boolean required

    Default value: false

    If the transaction is a partial refund, then it set to be true. Default value is false.

  • amount number

    Amount is required if it’s a partial refund. The amount must not be greater than the original received amount minus any already refunded amount.

  • reference string

    Amount is required if it’s a partial refund. The amount must not be greater than the original received amount minus any already refunded amount.

Responses

Response Headers

    Schema
    • success boolean
    • message string
    • amount number
    • reference string
    • transaction_id string
    Loading...