Validate PM
POST/validate/pm/:id
Create a validation entry for PM with a document upload
Request
Path Parameters
Account ID
Header Parameters
Sub-account identifier required for all requests
- multipart/form-data
Body
required
The file to upload.
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
{
"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"
}
}