cURL
curl --request POST \ --url https://api.trysynch.com/Payment/Create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "registrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "amount": 123, "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "shortDescription": "<string>", "enableDebitAuth": true, "debitAuthLimit": 123, "metadata": {} }'
{ "paymentRequestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
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
The response is of type object.
object
Was this page helpful?