Delete an account
DELETE/accounts/:id
Delete an account
Request
Path Parameters
Unique identifier of the account to delete
Header Parameters
Sub-account identifier required for all requests
Responses
- 200
- 404
Confirmation of account deletion
- application/json
- Schema
- Example (from schema)
Schema
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_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"
}
Account not found