API documentation for BNPL AUTH
| agreement | boolean or null (Agreement) |
object (UserEmbedded) | |
| has_identities_uploaded | boolean or null (Has identities uploaded) |
{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "user_avatar": { },
- "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true
}{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}| agreement | boolean or null (Agreement) |
object (UserEmbedded) | |
| has_identities_uploaded | boolean or null (Has identities uploaded) |
{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "user_avatar": { },
- "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true
}{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}| document_id required | string |
[- {
- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}
]| profile_id required | string <uuid> A UUID string identifying this profile. |
{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}| username required | string (Username) non-empty |
{- "username": "string"
}{- "username": "string",
- "password_recovery_request_id": "867b3b64-f9b4-4bdb-97a6-89aee7b889fe"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| profile_id required | string <uuid> A UUID string identifying this profile. |
{- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}required | object (RegistrationSessionInitialUser) |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "token": "string"
}required | object (RegistrationSessionInitialUser) |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "token": "string"
}required | object (RegistrationSessionInitialUser) |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "token": "string"
}required | object (RegistrationSessionInitialUser) |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "token": "string"
}| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
object (RegistrationSessionInitialUser) | |
object (RegistartionProfileSerilizer) Default: {"phone_verified":true} |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
object (RegistrationSessionInitialUser) | |
object (RegistartionProfileSerilizer) Default: {"phone_verified":true} |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{ }{ }| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{ }{ }| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| new_email required | string <email> (New email) non-empty |
{- "new_email": "user@example.com"
}{- "new_email": "user@example.com"
}| jwt_token required | string |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| jwt_token required | string |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_email_session_id required | string <uuid> A UUID string identifying this update email session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_email_session_id required | string <uuid> A UUID string identifying this update email session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| new_password required | string (New password) non-empty |
| confirm_new_password required | string (Confirm new password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string"
}{- "new_password": "string",
- "confirm_new_password": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| new_email required | string <email> (New email) non-empty |
{- "new_email": "user@example.com"
}{- "new_email": "user@example.com"
}| jwt_token required | string |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| jwt_token required | string |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_email_session_id required | string <uuid> A UUID string identifying this update email session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_email_session_id required | string <uuid> A UUID string identifying this update email session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| new_password required | string (New password) non-empty |
| confirm_new_password required | string (Confirm new password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string"
}{- "new_password": "string",
- "confirm_new_password": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}[- {
- "identity_id": "011a42b9-62d7-49eb-8328-c2e454af88a1",
- "id_number": "string",
- "name": "string",
- "nationality": "string",
- "card_number": "string",
- "dob": "string",
- "sex": "string",
- "expiry_date": "string",
- "meta_data": { }
}
]| age_filters required | Array of strings or null |
| region_filters required | Array of strings or null |
| gender_filters required | Array of strings or null |
{- "age_filters": [
- "string"
], - "region_filters": [
- "string"
], - "gender_filters": [
- "string"
]
}{- "users": "string",
- "age_filters": [
- "string"
], - "region_filters": [
- "string"
], - "gender_filters": [
- "string"
]
}| country required | string (Country) non-empty |
{- "country": "string"
}{- "country": "string"
}| token | string or null (Token) |
| country required | string (Country) non-empty |
| scan_status | string or null (Scan status) |
{- "token": "string",
- "country": "string",
- "scan_status": "string"
}{- "token": "string",
- "country": "string",
- "scan_status": "string"
}| type required | string Enum: "front" "back" |
| file required | string <binary> |
| user_id | string or null |
| country required | string [ 1 .. 3 ] characters |
| checkout | boolean or null Default: false |
{- "type": "front",
- "user_id": "string",
- "country": "str",
- "checkout": false
}| identity_id required | string <uuid> A UUID string identifying this identity. |
{- "identity_id": "011a42b9-62d7-49eb-8328-c2e454af88a1",
- "id_number": "string",
- "name": "string",
- "nationality": "string",
- "card_number": "string",
- "dob": "string",
- "sex": "string",
- "expiry_date": "string",
- "meta_data": { }
}[- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "is_staff": true,
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "profile": {
- "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
- "agreement": true,
- "user": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "phone_number": "string",
- "additional_phone_number": "string"
}, - "has_identities_uploaded": true
}, - "identities": [
- {
- "identity_id": "011a42b9-62d7-49eb-8328-c2e454af88a1",
- "id_number": "string",
- "card_number": "string",
- "nationality": "string",
- "expiry_date": "string"
}
], - "has_identities_lock": "string",
- "is_deferred_sign_up": true
}
]| new_email | string (New email) non-empty |
| old_email | string (Old email) non-empty |
{- "new_email": "string",
- "old_email": "string"
}{- "new_email": "string",
- "old_email": "string"
}[- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_joined": "2019-08-24T14:15:22Z",
- "is_active": true,
- "date_of_birth": "2019-08-24",
- "id_number": "string",
- "card_number": "string",
- "sex": "string",
- "expiry_date": "string",
- "nationality": "string",
- "similar_accounts": "string"
}
]| id_number | string <= 255 characters |
| card_number | string or null <= 255 characters |
| name | string <= 255 characters |
| sex | string or null <= 255 characters |
| nationality | string <= 255 characters |
| email required | string [ 1 .. 50 ] characters |
| expiry_date required | string <date> |
| dob required | string <date> |
| file required | string <binary> |
{- "id_number": "string",
- "card_number": "string",
- "name": "string",
- "sex": "string",
- "nationality": "string",
- "email": "string",
- "expiry_date": "2019-08-24",
- "dob": "2019-08-24",
}| destination required | string (Destination) [ 1 .. 50 ] characters |
| otp_type required | string (Otp type) [ 1 .. 20 ] characters |
{- "destination": "string",
- "otp_type": "string"
}{- "destination": "string",
- "otp_type": "string"
}| phone_numbers required | object (Phone numbers) |
| email required | string <email> (Email) non-empty |
{- "phone_numbers": { },
- "email": "user@example.com"
}{- "phone_numbers": { },
- "email": "user@example.com"
}| user_id | string or null (User id) |
string or null (Email) | |
| is_active | string or null (Is active) |
| phone_no | string or null (Phone no) |
| dob | string <date> (Dob) |
{- "user_id": "string",
- "email": "string",
- "is_active": "string",
- "phone_no": "string",
- "dob": "2019-08-24"
}{- "user_id": "string",
- "email": "string",
- "is_active": "string",
- "phone_no": "string",
- "dob": "2019-08-24"
}| user_id required | string <uuid> A UUID string identifying this user. |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "is_staff": true,
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "profile": {
- "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
- "agreement": true,
- "user": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "phone_number": "string",
- "additional_phone_number": "string"
}, - "has_identities_uploaded": true
}, - "identities": [
- {
- "identity_id": "011a42b9-62d7-49eb-8328-c2e454af88a1",
- "id_number": "string",
- "card_number": "string",
- "nationality": "string",
- "expiry_date": "string"
}
], - "has_identities_lock": "string",
- "is_deferred_sign_up": true
}[- {
- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}
]object (UserEmbedded) |
{- "user": {
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "user_avatar": { },
- "is_active": true,
- "phone_verified": true
}
}{- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}[- {
- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}
]| user__user_id required | string |
{- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}| user__user_id required | string |
object (UserEmbedded) |
{- "user": {
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "user_avatar": { },
- "is_active": true,
- "phone_verified": true
}
}{- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}| user__user_id required | string |
object (UserEmbedded) |
{- "user": {
- "email": "user@example.com",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "user_avatar": { },
- "is_active": true,
- "phone_verified": true
}
}{- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}
}[- {
- "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
- "legal_business_name": "string",
- "business_support_phone_number": "string",
- "business_support_email": "user@example.com",
- "business_sector": "string",
- "line1": "string",
- "city": "string",
- "state": "string",
- "postcode": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "country_id": "string",
- "trn_number": "string",
- "public_key": "string",
- "tenant_id": "string"
}
]| profile_id required | string <uuid> A UUID string identifying this profile. |
{- "profile_id": "bfcb6779-b1f9-41fc-92d7-88f8bc1d12e8",
- "legal_business_name": "string",
- "business_support_phone_number": "string",
- "business_support_email": "user@example.com",
- "business_sector": "string",
- "line1": "string",
- "city": "string",
- "state": "string",
- "postcode": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "country_id": "string",
- "trn_number": "string",
- "public_key": "string",
- "tenant_id": "string"
}| public_key required | string (Public key) non-empty |
| private_key required | string (Private key) non-empty |
{- "public_key": "string",
- "private_key": "string"
}{- "public_key": "string",
- "private_key": "string"
}| username required | string (Username) non-empty |
| tenant_id required | string (Tenant id) non-empty |
{- "username": "string",
- "tenant_id": "string"
}{- "username": "string",
- "password_recovery_request_id": "867b3b64-f9b4-4bdb-97a6-89aee7b889fe",
- "tenant_id": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| password_recovery_request_id required | string <uuid> A UUID string identifying this password recovery request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| employee_id required | string <uuid> A UUID string identifying this employee. |
{- "employee_id": "df4fd699-0854-488d-9cc2-15e751a80ee3",
- "created_at": "2019-08-24T14:15:22Z",
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "merchant": {
- "agreement": true,
- "user": {
- "email": "user@example.com",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "first_name": "string",
- "last_name": "string",
- "username": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "email_verifyed_at": "2019-08-24T14:15:22Z",
- "user_avatar": {
- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}, - "is_active": true,
- "phone_verified": true
}, - "has_identities_uploaded": true,
- "has_front_identities_uploaded": "string",
- "has_back_identities_uploaded": "string",
- "verification_url": "string",
- "consumer_identity": "string",
- "mobile_verify_attempts_left": "string"
}
}Merchant registration flow
required | object (RegistrationSessionInitialUser) |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "token": "string"
}Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
object (RegistrationSessionInitialUser) | |
object (RegistartionProfileSerilizer) Default: {"phone_verified":true} |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
object (RegistrationSessionInitialUser) | |
object (RegistartionProfileSerilizer) Default: {"phone_verified":true} |
{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}{- "user": {
- "email": "user@example.com",
- "password": "string"
}, - "profile": {
- "phone_verified": true
}
}Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{ }{ }Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
{ }{ }Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string",
- "token": "string"
}Merchant registration flow
| registration_session_id required | string <uuid> A UUID string identifying this registration session. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string",
- "token": "string"
}| new_password required | string (New password) non-empty |
| confirm_new_password required | string (Confirm new password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string"
}{- "new_password": "string",
- "confirm_new_password": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| new_password required | string (New password) non-empty |
| confirm_new_password required | string (Confirm new password) non-empty |
{- "new_password": "string",
- "confirm_new_password": "string"
}{- "new_password": "string",
- "confirm_new_password": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
{- "update_password_request_id": "6d0bec5b-cfba-4763-8ca2-cd7fdaa7e17f"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}| update_password_request_id required | string <uuid> A UUID string identifying this update password request. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "code": "string"
}Push notifications is a convenient way to get notified about events from the system. One can register a callback, i.e a valid URL that will be called whenever there is an event dispatched for this subscriber. Note that this can result in a large numbers of calls
[- {
- "push_notification_id": "cacdffe7-24e1-44b8-b52e-25a696016787",
- "pattern": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]Push notifications is a convenient way to get notified about events from the system. One can register a callback, i.e a valid URL that will be called whenever there is an event dispatched for this subscriber. Note that this can result in a large numbers of calls
| callback_url required | string <uri> (Callback url) [ 1 .. 2000 ] characters |
| pattern required | string (Pattern) [ 1 .. 10000 ] characters |
{- "pattern": "string"
}{- "push_notification_id": "cacdffe7-24e1-44b8-b52e-25a696016787",
- "pattern": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}Push notifications is a convenient way to get notified about events from the system. One can register a callback, i.e a valid URL that will be called whenever there is an event dispatched for this subscriber. Note that this can result in a large numbers of calls
| push_notification_id required | string <uuid> A UUID string identifying this push notification. |
{- "push_notification_id": "cacdffe7-24e1-44b8-b52e-25a696016787",
- "pattern": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}Push notifications is a convenient way to get notified about events from the system. One can register a callback, i.e a valid URL that will be called whenever there is an event dispatched for this subscriber. Note that this can result in a large numbers of calls
| push_notification_id required | string <uuid> A UUID string identifying this push notification. |
[- {
- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "external_key": "string",
- "name": "string",
- "client_key": "string",
- "client_secret": "string",
- "auth_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
]| external_key | string or null (External key) <= 255 characters |
| name required | string (Name) [ 1 .. 255 ] characters |
| client_key required | string or null (Client key) <= 255 characters |
| client_secret required | string or null (Client secret) <= 255 characters |
| auth_url | string or null (Auth url) <= 255 characters |
| deleted_at | string or null <date-time> (Deleted at) |
{- "external_key": "string",
- "name": "string",
- "client_key": "string",
- "client_secret": "string",
- "auth_url": "string",
- "deleted_at": "2019-08-24T14:15:22Z"
}{- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "external_key": "string",
- "name": "string",
- "client_key": "string",
- "client_secret": "string",
- "auth_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}| tenant_id required | string <uuid> A UUID string identifying this tenant. |
{- "tenant_id": "34f5c98e-f430-457b-a812-92637d0c6fd0",
- "external_key": "string",
- "name": "string",
- "client_key": "string",
- "client_secret": "string",
- "auth_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}| file required | string <binary> |
{- "avatar_id": "ceaabbd8-6fdf-460c-878c-7d0ae67338c0",
- "default_image": "string",
- "image_144x144": "string",
- "image_288x288": "string",
- "image_64x64": "string"
}string or null (Email) <= 255 characters | |
| phone_number | string or null (Phone number) <= 255 characters |
| resend | boolean (Resend) Default: false |
| phone_verification_id | string or null (Phone verification id) <= 255 characters |
| tenant_id | string or null (Tenant id) <= 255 characters |
{- "email": "string",
- "phone_number": "string",
- "resend": false,
- "phone_verification_id": "string",
- "tenant_id": "string"
}{- "email": "string",
- "phone_number": "string",
- "resend": false,
- "phone_verification_id": "string",
- "tenant_id": "string"
}| login_challenge required | string (Login challenge) non-empty |
| username required | string (Username) non-empty |
| password required | string (Password) non-empty |
| checkoutId | string or null (Checkoutid) |
| reg_identification_id | string or null (Reg identification id) |
| user_identity_id | string or null (User identity id) |
| phone_verification_id | string or null (Phone verification id) |
| tenantId | string or null (Tenantid) |
{- "login_challenge": "string",
- "username": "string",
- "password": "string",
- "checkoutId": "string",
- "reg_identification_id": "string",
- "user_identity_id": "string",
- "phone_verification_id": "string",
- "tenantId": "string"
}{- "login_challenge": "string",
- "username": "string",
- "password": "string",
- "checkoutId": "string",
- "reg_identification_id": "string",
- "user_identity_id": "string",
- "phone_verification_id": "string",
- "tenantId": "string"
}| token required | string (Token) non-empty |
| login_challenge required | string (Login challenge) non-empty |
{- "token": "string",
- "login_challenge": "string"
}{- "token": "string",
- "login_challenge": "string"
}| user_id required | string <uuid> A UUID string identifying this user. |
| first_name | string or null (First name) |
| last_name | string or null (Last name) |
| phone_number | string or null (Phone number) |
| date_of_birth | string or null <date> (Date of birth) |
| card_expiry_date | string or null (Card expiry date) |
| card_id_number | string or null (Card id number) |
| card_card_number | string or null (Card card number) |
{- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "card_expiry_date": "string",
- "card_id_number": "string",
- "card_card_number": "string"
}{- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "card_expiry_date": "string",
- "card_id_number": "string",
- "card_card_number": "string"
}| user_id required | string <uuid> A UUID string identifying this user. |
| first_name | string or null (First name) |
| last_name | string or null (Last name) |
| phone_number | string or null (Phone number) |
| date_of_birth | string or null <date> (Date of birth) |
| card_expiry_date | string or null (Card expiry date) |
| card_id_number | string or null (Card id number) |
| card_card_number | string or null (Card card number) |
{- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "card_expiry_date": "string",
- "card_id_number": "string",
- "card_card_number": "string"
}{- "first_name": "string",
- "last_name": "string",
- "phone_number": "string",
- "date_of_birth": "2019-08-24",
- "card_expiry_date": "string",
- "card_id_number": "string",
- "card_card_number": "string"
}| email required | string <email> (Email) [ 1 .. 254 ] characters |
{- "email": "user@example.com"
}{- "email_verification_token_id": "d24a8284-ce0a-48ad-a599-9368a8641e8e",
- "email": "user@example.com"
}| token required | string |
| email required | string <email> (Email) [ 1 .. 254 ] characters |
{- "email": "user@example.com"
}{- "email_verification_token_id": "d24a8284-ce0a-48ad-a599-9368a8641e8e",
- "email": "user@example.com"
}| token required | string |
| email required | string <email> (Email) [ 1 .. 254 ] characters |
{- "email": "user@example.com"
}{- "email_verification_token_id": "d24a8284-ce0a-48ad-a599-9368a8641e8e",
- "email": "user@example.com"
}API endpoint that allow create and verify phone OTP codes
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "validation_token": "94424f71-0242-44a4-9d92-23f5ca1d1254",
- "code": "string"
}API endpoint that allow create and verify phone OTP codes
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| phone required | string (Phone) [ 1 .. 128 ] characters |
| tenant_id required | string (Tenant id) non-empty |
| code_length | integer or null (Code length) |
{- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}{- "phone_verification_token_id": "49f4e95b-4d7c-4c93-8e04-07977641eeff",
- "phone": "string",
- "tenant_id": "string",
- "code_length": 0
}API endpoint that allow create and verify phone OTP codes
| phone_verification_token_id required | string <uuid> A UUID string identifying this phone verification token. |
| code required | string (Code) non-empty |
{- "code": "string"
}{- "validation_token": "94424f71-0242-44a4-9d92-23f5ca1d1254",
- "code": "string"
}