API ReferenceRegistration
Post Generate Api Link
Registers a user directly with a single call
Request Body
application/json
address1*string
address2*string
city*string
dob*string
email*string
first_name*string
last_name*string
occupation*string
pep*boolean
phone*string
postal*string
Match
^[abceghj-nprstvxy]\d[abceghj-nprstv-z][ -]?\d[abceghj-nprstv-z]\d$province*unknown
Value in
"ab" | "bc" | "mb" | "nb" | "nl" | "ns" | "nt" | "nu" | "on" | "pe" | "qc" | "sk" | "yt"tpd*boolean
Response Body
application/json
curl -X POST "https://api.paytrie.com/generateApiLink" \ -H "Content-Type: application/json" \ -d '{ "address1": "123 Main St", "address2": "Apt 1", "city": "New York", "dob": "1990-01-01", "email": "user@email.com", "first_name": "John", "last_name": "Doe", "occupation": "Software Engineer", "pep": "true", "phone": "+1234567890", "postal": "m1b5g5", "province": "on", "tpd": "false" }'{
"message": "API user created",
"status": "success",
"verificationLink": "https://ivs.idenfy.com/api/v2/redirect?authToken=<token>"
}