Skip to content

Platform API

Persons ​

Endpoints and schemas for the Persons API area. Requests must be HMAC-signed. See Authentication.

Create person​

POST
/v1/persons

Creates a natural person. Persons hold personal data and KYC state; they are distinct from login users.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Request Body​

application/json
JSON
{
  
"firstName": "string",
  
"lastName": "string",
  
"dateOfBirth": "string",
  
"country": "string",
  
"declaredResidenceCountry": "string",
  
"taxResidenceCountry": "string",
  
"phone": "string",
  
"nationalIdCode": "string",
  
"idDocumentNumber": "string",
  
"idDocumentIssuingCountry": "string",
  
"eResidencyStatus": "string"
}

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"id": 0,
  
  
"uuid": "string",
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"dateOfBirth": "string",
  
  
"country": "string",
  
  
"declaredResidenceCountry": "string",
  
  
"taxResidenceCountry": "string",
  
  
"eResidencyStatus": "string",
  
  
"phone": "string",
  
  
"kycStatus": "string",
  
  
"status": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string",
  
  
"nationalIdCode": "string",
  
  
"idDocumentNumber": "string",
  
  
"idDocumentIssuingCountry": "string"
  
}
}

Playground​

Authorization
Body

Samples​


Get person​

GET
/v1/persons/{personUuid}

Returns the person, their organization links, whether a login user exists, and the KYC summary with the latest verification session.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Parameters​

Path Parameters

personUuid*
Type
string
Required
Format
"uuid"
Pattern
"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"person": {
  
  
  
"id": 0,
  
  
  
"uuid": "string",
  
  
  
"firstName": "string",
  
  
  
"lastName": "string",
  
  
  
"dateOfBirth": "string",
  
  
  
"country": "string",
  
  
  
"declaredResidenceCountry": "string",
  
  
  
"taxResidenceCountry": "string",
  
  
  
"eResidencyStatus": "string",
  
  
  
"phone": "string",
  
  
  
"kycStatus": "string",
  
  
  
"status": "string",
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string",
  
  
  
"nationalIdCode": "string",
  
  
  
"idDocumentNumber": "string",
  
  
  
"idDocumentIssuingCountry": "string"
  
  
},
  
  
"organizations": [
  
  
  
{
  
  
  
  
"uuid": "string",
  
  
  
  
"name": "string",
  
  
  
  
"role": "string",
  
  
  
  
"status": "string"
  
  
  
}
  
  
],
  
  
"hasLoginUser": true,
  
  
"kyc": {
  
  
  
"status": "string",
  
  
  
"reason": "string"
  
  
}
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​


Update person​

PUT
/v1/persons/{personUuid}

Updates person information. Changing an identity-bearing field (firstName, lastName, dateOfBirth, country) resets the KYC status to pending and invalidates open verification sessions; metadata.kycInvalidated reports whether that happened.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Parameters​

Path Parameters

personUuid*
Type
string
Required
Format
"uuid"
Pattern
"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"

Request Body​

application/json
JSON
{
  
"firstName": "string",
  
"lastName": "string",
  
"dateOfBirth": "string",
  
"country": "string",
  
"declaredResidenceCountry": "string",
  
"taxResidenceCountry": "string",
  
"phone": "string",
  
"eResidencyStatus": "string"
}

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"id": 0,
  
  
"uuid": "string",
  
  
"firstName": "string",
  
  
"lastName": "string",
  
  
"dateOfBirth": "string",
  
  
"country": "string",
  
  
"declaredResidenceCountry": "string",
  
  
"taxResidenceCountry": "string",
  
  
"eResidencyStatus": "string",
  
  
"phone": "string",
  
  
"kycStatus": "string",
  
  
"status": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string",
  
  
"nationalIdCode": "string",
  
  
"idDocumentNumber": "string",
  
  
"idDocumentIssuingCountry": "string"
  
},
  
"metadata": {
  
  
"kycInvalidated": true
  
}
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Start KYC verification​

POST
/v1/persons/{personUuid}/start-kyc

Creates a Didit identity verification session (photo ID + liveness) for the person and returns the hosted verification URL. Idempotent while a session is open: a repeat call returns the same session rather than creating a second one. Returns 409 if the person is already verified for this platform, 403 if declared residence is outside the EEA.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Parameters​

Path Parameters

personUuid*
Type
string
Required
Format
"uuid"
Pattern
"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"sessionUuid": "string",
  
  
"url": "string",
  
  
"status": "string"
  
}
}

Playground​

Authorization
Variables
Key
Value

Samples​


Register funding profile​

POST
/v1/persons/{personUuid}/funding-profile

Registers the external IBAN and account-holder name this person will fund their payment account from, and later withdraw to. Pass bankBic, the BIC of the bank holding that IBAN: the first funding can match without it, but the source is checked with Verification of Payee by that BIC, so without one it is not linked for withdrawals and a withdrawal is refused with 409 until an account is linked with PATCH /v1/accounts/{accountUuid}/linked-account. Requires the relationship to already be KYC-verified. One profile per relationship: a repeat call for an already-registered relationship returns 409. Returns 403 if the IBAN is outside the EEA or the holder name does not match the person.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Parameters​

Path Parameters

personUuid*
Type
string
Required
Format
"uuid"
Pattern
"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"

Request Body​

application/json
JSON
{
  
"holderName": "string",
  
"iban": "string",
  
"bankBic": "string"
}

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"uuid": "string",
  
  
"externalIban": "string",
  
  
"accountHolderName": "string",
  
  
"bankBic": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Open payment account​

POST
/v1/persons/{personUuid}/account

Opens a payment account owned by this platform-customer relationship. Requires the relationship to already be KYC-verified. The account starts in pending_activation with a zero balance, an assigned IBAN and wallet, and outgoing payments blocked until a first-funding match activates it. One account per relationship: a repeat call returns the same account rather than creating another, including under concurrent requests. Returns 409 if the relationship is not KYC-verified, 404 if the personUuid is unknown or belongs to another platform customer. First-funding activation: the first incoming payment to the account's IBAN activates it (pending_activation to active) only if it comes from the source registered with POST /v1/persons/{personUuid}/funding-profile, meaning the debtor IBAN equals the registered IBAN (ignoring case and spaces) and the debtor name equals the registered account-holder name (ignoring case, accents and punctuation). The matched payment shows on the account as pending, with metadata firstFunding: "matched", and becomes available once the required payment checks pass. A payment from any other source does not activate the account, never shows on it and is held for review. Later payments to an active account follow the normal incoming-payment path. The matched payment links the registered source as the account's linked bank account, checked with Verification of Payee: validated on a match, otherwise pending the holder's decision. Withdrawals from the account (POST /v1/accounts/{accountUuid}/withdrawal) pay out only to its validated linked account: that source, or an account in the holder's name that has paid in since.

Authorizations​

papiHmac

HMAC authentication. Send x-api-key, x-timestamp, x-nonce, and an x-signature computed over the request.

Type
API Key (header: x-api-key)

Parameters​

Path Parameters

personUuid*
Type
string
Required
Format
"uuid"
Pattern
"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"

Request Body​

application/json
JSON
{
  
"label": "string"
}

Responses​

Successful response

application/json
JSON
{
  
"data": {
  
  
"id": 0,
  
  
"uuid": "string",
  
  
"label": "string",
  
  
"holderName": "string",
  
  
"iban": "string",
  
  
"wapiWalletForeign": "string",
  
  
"ownerPersonId": 0,
  
  
"ownerOrgId": 0,
  
  
"ownerType": "string",
  
  
"status": "string",
  
  
"withdrawalStatus": "string",
  
  
"withdrawalRestrictionReason": "string",
  
  
"withdrawalRestrictionUpdatedAt": "string",
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​