Skip to main content
POST
Onboard a consumer on Paylead platform

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-version
string
default:2.0.0
required

Body

application/json
id
string
required

Unique identifier for a consumer on your system, alphanumeric string with optional dashes or underscores

Required string length: 2 - 100
Pattern: ^[a-zA-Z0-9_-]+$
Example:

"consumer-12345"

banks
BucketBankSchema · object[] | null

Optional bank connections to attach to the consumer at onboarding time. When omitted, the consumer is created without any bank connection.

Response

Successful Response

id
string
required

Unique identifier for a consumer on your system, alphanumeric string with optional dashes or underscores

Pattern: ^[a-zA-Z0-9_-]+$
Example:

"consumer-12345"