Validate PP
POST/validate/pp/:id
Create a validation entry for PP
Request
Path Parameters
Account ID
Header Parameters
Sub-account identifier required for all requests
- application/json
Body
required
First name of the person.
Last name of the person.
Birth date of the person.
Birth city of the person.
Birth country of the person.
Responses
- 201
Validation created
- application/json
- Schema
- Example (from schema)
Schema
account
object
required
Unique identifier for the account.
Timestamp for the account creation.
Siret number of the account.
Name of the account. Defined by the SIRET number.
Possible values: [personneMorale
, personnePhysique
]
Type of the account.
Status of the account. For more infos see /validate
Timestamp for the account deletion.
Timestamp for the account creation.
Currency of the account. Only EUR supported for now.
Notification email for the account, will get notified for each successful payment.
URL for account activation. For more infos see /validate
URl for blob storage. For more infos see /validate/pm
Partner id of the account.
ID of the creator of the account
user
object
required
Unique identifier of the user
Time when the user profile was last modified
First name of the user
Last name of the user
Birth date of the user
Birth city of the user
Birth country of the user
Phone number of the user
Email address of the user
Possible values: [admin
, user
]
Role of the user
Identifier of the user who created this user profile
{
"account": {
"account_id": "efc21e45-79d1-48d8-ac19-ea0ecaef2bc5",
"account_last_modified": "2021-09-01T09:00:00Z",
"account_national_id": "12345678901234",
"account_name": "FORTAINE SOFTWARE",
"account_type": "personneMorale",
"account_is_active": true,
"account_deletion_date": "2021-09-01T09:00:00Z",
"account_created_at": "2021-09-01T09:00:00Z",
"account_currency": "EUR",
"account_notification_email": "louka.altdorf-reynes@ribpay.app",
"account_creation_url": "http://localhost:3001/account/TestKey1/efc21e45-79d1-48d8-ac19-ea0ecaef2bc5",
"account_blob_storage_url": "http://localhost:3001/account/TestKey1/efc21e45-79d1-48d8-ac19-ea0ecaef2bc5",
"partner_id": "partner_id",
"creator_id": "TestKey1"
},
"user": {
"user_id": "123e4567-e89b-12d3-a456-426614174000",
"user_last_modified": "2024-04-25T10:00:00Z",
"user_first_name": "John",
"user_last_name": "Doe",
"user_birth_date": "1990-04-25",
"user_birth_city": "New York",
"user_birth_country": "USA",
"user_phone": "+1234567890",
"user_email": "user@example.com",
"user_role": "admin",
"creator_id": "Admin"
}
}