Follow these steps to register a user in SynchPay
/user/register
endpoint. The process involves the following steps:
Create a Registration Object
POST
request to /user/register
with the required parameters.Redirect the User
RegistrationUrl
returned in the response to send the user to
complete their registration, where they will provide payment information and
undergo KYC verification.Request Money
/user/register
endpoint initiates the user registration process. Below are the specifics of the API call.
POST
Bearer <AccessToken>
Parameter | Type | Description | Required |
---|---|---|---|
Period | string | The frequency of the payment. Set to “once” for a one-time payment during registration. | No |
Amount | integer | The payment amount expressed in cents. For example, $50.00 should be provided as 5000 (if applicable). | No |
ShortDescription | string | A brief description of the payment purpose (for AML purposes). | No |
RedirectUrl | string | The URL to redirect the user after completing registration. | Yes |
MobileNumber | string | The user’s mobile number (optional, speeds up onboarding). Needs to be a valid E.164 format mobile number. | No |
Email | string | The user’s email address (optional, speeds up onboarding). | No |
"+12345678901"
).
E.164 has a 15 digit limit.Field | Type | Description |
---|---|---|
RegistrationId | string | The unique ID of the user registration. |
RegistrationUrl | string | The URL for the user to complete the registration process. |
RegistrationId
and RegistrationUrl
, direct the user to the RegistrationUrl
to complete their registration. This can be done in two ways:
RegistrationUrl
, where they will be guided through the SynchPay app to link their account via Plaid and complete the KYC process.
RegistrationUrl
in a webview component.
RedirectUrl
you provided in the request.
GET /user/{registrationId}/status
endpoint:
GET
Bearer <AccessToken>