Check if a user exists
| phone_number | string Example: phone_number=+331234567890 Phone number of the user to check existence |
| caller_id | string Example: caller_id=123e4567-e89b-12d3-a456-426614174000 Identifier of the caller for rate limiting purposes (for example, the browser IP address or any unique identifier). If not provided, rate limiting will block requests only based on the clientId, which may lead to blocking legitimate requests from the same client. Providing a caller_id allows for more granular rate limiting and helps prevent blocking legitimate requests. |
{- "exists": true,
- "token_count": 2
}Create a user and its consent
| merchantId required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 Merchant identifier |
| customer_reference | string Example: "customer_12345" Merchant customer reference |
object (UserApplication) User application |
{- "customer_reference": "customer_12345",
- "user": {
- "phone_number": "+33612345678",
- "first_name": "John",
- "last_name": "Doe",
- "gender": "male",
- "birthdate": "1990-01-15",
- "addresses": [
- {
- "address_type": "billing",
- "street_address": "123 Main Street",
- "address_complement": "Apt 4B",
- "locality": "Paris",
- "postal_code": "75001",
- "country": "FRANCE"
}
]
}
}{- "customer_reference": "customer_12345",
- "user": {
- "phone_number": "+33612345678",
- "first_name": "John",
- "last_name": "Doe",
- "gender": "male",
- "birthdate": "1990-01-15",
- "addresses": [
- {
- "address_type": "billing",
- "street_address": "123 Main Street",
- "address_complement": "Apt 4B",
- "locality": "Paris",
- "postal_code": "75001",
- "country": "FRANCE"
}
]
}
}Start passwordless authentication on specified phone number or email address
| merchantId required | string <uuid> Example: 8a08aed3-c7cf-4622-b9ff-22da517a8739 Merchant identifier |
| phone_number | string <phone> Example: "+33623456789" Phone number |
| caller_id | string Example: "192.168.1.100" Identifier of the caller for rate limiting purposes (for example, the browser IP address or any unique identifier. If not provided, rate limiting will block requests only based on the clientId, which may lead to blocking legitimate requests from the same client. Providing a callerId allows for more granular rate limiting and helps prevent blocking legitimate requests. |
{- "phone_number": "+33623456789"
}{- "title": "Validation Error",
- "status": 400,
- "detail": "The request body contains invalid fields.",
- "instance": "/v1/merchants/123e4567-e89b-12d3-a456-426614174000/users",
- "error": "Invalid email format",
- "errors": [
- {
- "detail": "must be a valid email address",
- "pointer": "/user/email"
}
]
}Verify passwordless authentication on specified phone number or email address
| merchantId required | string <uuid> Example: 8a08aed3-c7cf-4622-b9ff-22da517a8739 Merchant identifier |
| phone_number | string <phone> Example: "+33623456789" Phone number |
| verification_code required | string Example: "123456" Verification code |
| caller_id | string Example: "192.168.1.100" Identifier of the caller for rate limiting purposes (for example, the browser IP address or any unique identifier). If not provided, rate limiting will block requests only based on the clientId, which may lead to blocking legitimate requests from the same client. Providing a callerId allows for more granular rate limiting and helps prevent blocking legitimate requests. |
{- "phone_number": "+33623456789",
- "verification_code": "123456"
}{- "consent_challenge_id": "ae900e3c-91df-4e71-ba49-60985827c258",
- "user": {
- "phone_number": "+331234567890",
- "first_name": "John",
- "last_name": "Doe",
- "gender": "male",
- "birthdate": "1990-01-01",
- "addresses": [
- {
- "address_type": "billing",
- "street_address": "123 Main St",
- "address_complement": "Apt 4B",
- "locality": "Paris",
- "postal_code": "75001",
- "country": "FRANCE"
}
]
}
}Create a consent for a user and its merchant using consent challenge
| merchantId required | string <uuid> Example: 8a08aed3-c7cf-4622-b9ff-22da517a8739 Merchant identifier |
| customerReference required | string Example: customer_12345 Merchant customer reference |
| consent_challenge_id required | string <uuid> Example: "bdc87c71-3a82-4757-91b2-559b1a888766" Consent challenge identifier |
{- "consent_challenge_id": "bdc87c71-3a82-4757-91b2-559b1a888766"
}{- "title": "Validation Error",
- "status": 400,
- "detail": "The request body contains invalid fields.",
- "instance": "/v1/merchants/123e4567-e89b-12d3-a456-426614174000/users",
- "error": "Invalid email format",
- "errors": [
- {
- "detail": "must be a valid email address",
- "pointer": "/user/email"
}
]
}Retrieve user information based on merchant customer reference
| merchantId required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 Merchant identifier |
| customer_reference required | string Example: customer_12345 Merchant customer reference |
{- "phone_number": "+33612345678",
- "first_name": "John",
- "last_name": "Doe",
- "gender": "male",
- "birthdate": "1990-01-15",
- "addresses": [
- {
- "address_type": "billing",
- "street_address": "123 Main Street",
- "address_complement": "Apt 4B",
- "locality": "Paris",
- "postal_code": "75001",
- "country": "FRANCE"
}
]
}