curl --request POST \
--url https://api.trysynch.com/Payment/Create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"registrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contactNumber": "<string>",
"emailAddress": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shortDescription": "<string>",
"feePayer": "<string>",
"reference": "<string>",
"attachment": "<string>",
"dueDate": "2023-12-25",
"enableDebitAuth": true,
"debitAuthLimit": 123,
"enableAutoPay": true,
"autoPayLimit": 123,
"metadata": {}
}
'{
"paymentRequestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Create a payment for a given user
curl --request POST \
--url https://api.trysynch.com/Payment/Create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"amount": 123,
"registrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contactNumber": "<string>",
"emailAddress": "<string>",
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shortDescription": "<string>",
"feePayer": "<string>",
"reference": "<string>",
"attachment": "<string>",
"dueDate": "2023-12-25",
"enableDebitAuth": true,
"debitAuthLimit": 123,
"enableAutoPay": true,
"autoPayLimit": 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...'
Show child attributes
OK
Was this page helpful?