Refund Transaction

This request must be made in order to create a refund for a given transaction. This only creates the refund the processing and finishing of this refund is made by PagSeguro directly through the payment provider.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required

Transaction identifier in PagSeguro.

url
required

URL used to notify the Merchant. This URL must bind ports 80 or 443.

number

Amount to be refunded. If not sent, the refund will be processed for the entire value of the transaction. For partial refunds, the amount parameter must be sent.

integer
enum

Parameter used to indicate that a transaction will be processed in test mode. Can be used the value 1 for sandbox or 0 for production environment. If not set assumes value 0.

Allowed:
string

Merchant refund identifier. Limit of 64 characters.

Headers
string
enum
Defaults to application/vnd.boacompra.com.v2+json; charset=UTF-8

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/vnd.boacompra.com.v2+json; charset=UTF-8
application/json