Refund a Transaction
POST/v3/transactions/:code/refunds
Requests a refund for a transaction processed by PagSeguro. Refunds can be requested for the full transaction amount or a partial amount. Requires Basic Authentication.
Request
Responses
- 201
- 400
- 401
- 422
Refund request created successfully.
Bad Request - The request was malformed or contained invalid data.
Unauthorized - Authentication failed due to missing or invalid credentials.
Unprocessable Entity - The request was well-formed but could not be processed due to semantic errors.