POST
/
Payment
/
Create
Create a payment
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"
}

Authorizations

Authorization
string
header
required

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...'

Body

amount
integer
registrationId
string<uuid> | null
contactNumber
string | null
emailAddress
string | null
companyId
string<uuid> | null
shortDescription
string | null
feePayer
string | null
reference
string | null
attachment
string | null
dueDate
string<date> | null
enableDebitAuth
boolean | null
debitAuthLimit
integer | null
enableAutoPay
boolean | null
autoPayLimit
integer | null
metadata
object | null

Response

OK

paymentRequestId
string<uuid>