POST
/
Payment
/
Refund
curl --request POST \
  --url https://api.trysynch.com/Payment/Refund \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "amount": 123,
  "description": "<string>",
  "attachment": {
    "fileName": "<string>",
    "fileData": "<string>",
    "fileType": "<string>"
  }
}'

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Use /auth/token to obtain access token. Enter 'Bearer' [space] and then your token in the text input below. Example: 'Bearer eyJhbGci...'

Path Parameters

paymentRequestId
string
required

Body

Response

200

Success