Create the account and onboarding session
Partner Auth: EIP-191 signature by the partner's registered backend key, with X-Api-Deadline and optional X-Api-PublicKey headers. See the Signature and verify guide.
Your partner-side user id. This endpoint identifies the user by X-External-User-Id only; there is no X-Ur-Id yet.
Partner Auth EIP-191 signature over the canonical message plus the deadline.
Unix timestamp in seconds after which the signature is no longer valid.
Partner public key used to verify the signature.
Body for create-account. The user's identity travels in the X-External-User-Id header, not the body. Do not send a Sumsub applicantId on either KYC path; the applicant is assigned or handed off later.
The user's email address. Must be unique across UR partners; reusing the same email under a different partner returns L1_CONFLICT (code 30015).
ISO 3166-1 alpha-3 country code. Sending it lets UR fail country gates before the URID is minted.
ISO 3166-1 alpha-3 country code of residence.
Date of birth in YYYY-MM-DD format.
Passport or ID expiry date in YYYY-MM-DD format.
Business result envelope. code 0 means success; business rejections return HTTP 200 with a non-zero code.
Business result code. 0 means success; business rejections return HTTP 200 with a non-zero code.
Human-readable diagnostic for non-zero codes.
POST /api/fma/v1/create-account HTTP/1.1
Host: openapi.ur.app
X-Api-Signature: text
X-External-User-Id: text
X-Api-Deadline: text
X-Api-PublicKey: text
Content-Type: application/json
Accept: */*
Content-Length: 115
{
"email": "user@example.com",
"nationality": "CHN",
"residency": "CHN",
"dob": "1994-01-06",
"documentExpiry": "2036-05-05"
}Business result envelope. code 0 means success; business rejections return HTTP 200 with a non-zero code.
{
"code": 0,
"message": "",
"data": {
"sessionId": "223d567f-ea11-4629-ba2a-94664edc26f6",
"urId": 5643568810,
"evmAddress": "0x7c8173c8Fe47D55b9Ee848e89da1149A52632193",
"state": "ConfirmYourCountryOfResidence",
"idempotentReplay": false
}
}Last updated