Enable and manage autopay limits through the SynchPay API using the Debit Auth endpoints.
Obtain an Access Token
POST
request to /auth/token
using your ClientId
and ClientSecret
.Check Current Limit
GET /user/{registrationId}/debitauth
endpoint to retrieve the current auto-debit authorization status and the active limit, if any.Set Initial Limit
POST
request to /user/{registrationId}/debitauth
with the desired limit.https://api.synchpay.com/user/{registrationId}/debitauth
GET
Bearer <AccessToken>
Parameter | Type | Description | Required |
---|---|---|---|
RegistrationId | string | Unique identifier for the registered user | Yes |
CompanyId | string | Unique identifier for the Company | Yes |
https://api.synchpay.com/user/{registrationId}/debitauth
POST
Bearer <AccessToken>
Parameter | Type | Description | Required |
---|---|---|---|
registrationId | string | Unique identifier for the registered user | Yes |
Parameter | Type | Description | Required |
---|---|---|---|
CompanyId | string | Unique identifier for the company | Yes |
Enabled | boolean | When used with true value then notifications is sent to the user, false will disable the DebitAuth. Default: false | No |
Limit | integer | Maximum auto-debit amount in cents (e.g. 10000 = $100.00) | Yes |