Create a new signup session
POST /signup/v1/session
First step in the signup process is to generate a signup session. The response will provide you with a snippet that you should render in your frontend.
- application/json
Request Body
- country string required
- locale string required
- cin string
Company identication number
merchanturls object required
terms stringsignupwebhook stringIf you want to validate the signup from your backend. you should provide Briqpay with this url for us to notify you of a completed registration. This validation is also possible to complete using a frontend notification.
redirecturl stringIf you want the signup to automatically redirect after completion
- 201
successully created a signup session
- application/json
- Schema
- Example (from schema)
Schema
- createddate string
Timestamp of when the registration started
- locale string
- country string
- sessionid string
- snippet string
the snippet to be presented in your frontend
merchanturls object
terms stringsignupwebhook stringThe url where Briqpay should post data for you to validate the registration
redirecturl stringThe page where Briqpay should redirect the customer after a successful registration
- state string
- merchantid string
Your merchant ID in briqpays system
- merchantname string
Your merchant Name in briqpays system
- validationFlow string
{
"createddate": "",
"locale": "en-gb",
"country": "SE",
"sessionid": "string",
"snippet": "<script>......</script>",
"merchanturls": {
"terms": "https://example.com/ToC",
"signupwebhook": "https://example.com/signup-hook-handler",
"redirecturl": "https://example.com/registration-completed"
},
"state": "string",
"merchantid": "string",
"merchantname": "string",
"validationFlow": "string"
}