Skip to main content
POST
Partial Refund Order
This API is used to initiate a partial refund for a specific order.

Request Body

Responses

200 OK

400 Bad Request

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
key
string
required

Merchant api key, provided in paytring dashbord

id
string
required

Order id provided by paytring.

amount
integer<int32>
required

Amount should be in paise/cents and it should be based on order currency

hash
string
required

to be calculated by hash logic.

Response

200

status
boolean
default:true
Example:

true

message
string
Example:

"ORDER_PARTIALLY_REFUNDED_SUCCESSFULLY"

id
string
Example:

"xxxxxxxxxxx"