# POST /rest/refund

POST /rest/refund

Parameters

NameInTypeRequiredDescription

Content-TypeheaderstringNoContent-type of the body of the request

Request Body

PropertyTypeRequiredDescription

api_keystringYesAPI key of the merchant.

transaction_idstringYesTransaction ID of the transaction.

amountnumberNoAmount of the refund. If not given, full amount is refuned.

pix_keystringNoOnly used when trying to refund a Credit Card transaction through PIX network. Must be used alongside pix_key_type parameter

pix_key_typestringNoOnly used when trying to refund a Credit Card transaction through PIX network. Must be used alongside pix_key parameter. Allowed values can be found in the following link: https://continentalpay.readme.io/reference/list-of-pix-key-types#/.

vatnumberNoVAT amount which is included in the full amount.

commentstringNoAny other reference that you would like to save in this refund request. Displayed in dashboard.

Responses

200
