Doc Refresh in Progress - check back soon for cards & recurring payments
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>"
}
}
'Creates a refund for previous payment
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>"
}
}
'Documentation Index
Fetch the complete documentation index at: https://apidocs.synchpay.dev/llms.txt
Use this file to discover all available pages before exploring further.
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...'
OK
Was this page helpful?