cURL
curl --request POST \ --url https://api.trysynch.com/Payment/Refund/{paymentRequestId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amount": 123, "description": "<string>", "attachment": { "fileName": "<string>", "fileData": "<string>", "fileType": "<string>" } } '
Create a refund for previous payment
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
Show child attributes
OK
Was this page helpful?