POST
/
refund
curl --request POST \
  --url https://test.paysight.io/customerapi/refund \
  --header 'Content-Type: application/json' \
  --data '{
  "parentCompanyId": 1,
  "userEmail": "care@yourdomain.com",
  "messageId": "fd6562a1-e0e7-4b8b-b0d4-f20359482dd1",
  "amount": 12.99,
  "refundItems": [],
  "sendUserCommunication": false
}'
{
  "success": true,
  "message": "",
  "refundId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Body

application/json

Payload

The body is of type object.

Response

200 - application/json

Valid Request. More detailed info will be in the JSON body

The response is of type object.