Submit a refund for a payment
Return issued refund information. The Authorisation token needs to be specified in the 'authorization' header as 'authorization: Bearer YOUR_API_KEY_HERE'
Path parameters
paymentId
Request body
Example request
{
"amount": 150000,
"refund_amount_available": 200000
}Response
successful operation
Example response
{
"refund_id": "act4c33g40j3edfmi8jknab84x",
"created_date": "2017-01-10T16:52:07.855Z",
"amount": 120,
"_links": {
"self": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
},
"payment": {
"href": "https://an.example.link/from/payment/platform",
"method": "GET"
}
},
"status": "success",
"settlement_summary": {
"settled_date": "2016-01-21"
}
}Changes
Changed in 7 of the 50 revisions of this API.618
- ▲
removed the request body
request-body-removed
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ▲
removed the media type
application/jsonfor the response with the statusresponse-media-type-removed
- ○
the endpoint scheme security
Authorizationwas added to the APIapi-security-added
- ○
the endpoint scheme security
BearerAuthwas removed from the APIapi-security-removed
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
added required request body
request-body-added-required
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
Authorizationwas removed from the APIapi-security-removed
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
- ○
added the media type
application/jsonfor the response with the statusresponse-media-type-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
api tag
Refunding card paymentsaddedapi-tag-added
- ○
api tag
Refunding paymentsremovedapi-tag-removed
- ○
- ○
api tag
Refunding paymentsaddedapi-tag-added
- ○
api tag
Refundsremovedapi-tag-removed
- ○
- ○
api operation id
submitRefundremoved and replaced withSubmit a refund for a paymentapi-operation-id-removed
- ○
- ○
api tag
Refundsaddedapi-tag-added
- ○
api tag
refundsremovedapi-tag-removed
- ○
- ○
api operation id
Submit a refund for a paymentremoved and replaced withsubmitRefundapi-operation-id-removed
- ○
api tag
refundsaddedapi-tag-added
- ○
api tag
Refunding card paymentsremovedapi-tag-removed
- ○