Create Refund

Create Refund for the transaction created on PortOne. Merchant can either create the full or partial refund. Few PSPs do not support refunds or partial refunds. Please refer PortOne docs for additional information. The response body contains the amount to refund and the array of all refunds performed.

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

The amount you want to refund (ignored if a refund of type 'full' is requested)

string
required

The payment channel key used to make the payment for the transaction

string
required

The description for the refund

string
enum
required

The environment of the transaction is either live OR sandbox

Allowed:
string
enum
required

The type of the refund indicates whether a full or partial refund is being requested. If the refund type is 'full', the 'amount' field is ignored

Allowed:
string
required

The reason for the refund

Headers
string
string

The Authorization header is used to include the JWT for authenticating API requests; learn how to generate the token in this guide

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json