cURL
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>" } }'
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...'
/auth/token
Success
Was this page helpful?