Skip to main content
PATCH
This endpoint allows you to fully refund a previously authorized Payin transaction. Refund Requirements:
  • The refund amount must match the original Payin amount.
  • The refund must be sent to the same beneficiary and account used for the original Payin.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer access token for authentication. This token is obtained from the Get Access Token or Refresh Access Token endpoints.

Path Parameters

externalId
string
required

ID generated on your side for transaction traceability. It must be unique and only accepts alphanumeric characters and hyphens (UUID4 for example).

Pattern: [a-zA-Z0-9\- ]+
Example:

"53025bf4-4c87-4b4f-8fea-b47004440f37"

Body

application/json
externalId
string
required

A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness. Required only for Pix (Brazil) and cash refunds.

beneficiary
object
required

Object containing details about the beneficiary of the refund. Required only for Pix (Brazil) and cash refunds.

comment
string

Comment or note providing additional information about the refund transaction.

Response

OK

externalId
string

A unique identifier generated by your system to track the transaction (alphanumeric and hyphens). We recommend using UUID4 to ensure uniqueness.

internalId
string

Localpayment transaction identifier.

status
status · object

Operation status.

Last modified on November 10, 2026