Onboard
POSThttps://api.publicsquare.com/onboarding/:product
Starts the onboarding process for a product in the Account.
Permissions
business:write
Request
Path Parameters
product stringrequired
Responses
- 200
- 400
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (auto)
Schema
account_idstringnullable
Account ID
Example:
acc_B518niGwGYKzig6vtrRVZGGGV
productstringnullable
Product
Example:
payments
onboarding_statusstringnullable
Onboarding status of the account
Example:
verified
contract_statusstringnullable
Status of the contract review
Example:
completed
step_requirements object[]nullable
document_requirements object[]nullable
{
"account_id": "acc_B518niGwGYKzig6vtrRVZGGGV",
"product": "payments",
"onboarding_status": "verified",
"contract_status": "completed",
"step_requirements": [
{
"name": "business",
"status": "complete"
}
],
"document_requirements": [
{
"document_id": "string",
"document_filename": "sample.pdf",
"document_type": {
"value": "articles_of_incorporation",
"name": "Articles of incorporation",
"description": "Government issued document showing proof of business or articles of incorporation",
"additional_information": "Please provide as much as you have available. Note: Limited data may lengthen the underwriting and approval process",
"opt_out_description": "I confirm that my state does not require me to provide this document",
"can_opt_out": true,
"max_allowed_files": 0,
"document_url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
},
"status": "complete",
"entity_id": "rep_5mQSxcSAW3UZ4ijLzEt4RuAib",
"entity_type": "business_representative"
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
errors objectnullable
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"errors": {},
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Unauthorized
- application/json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Forbidden
- application/json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Not Found
- application/json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Authorization: X-API-KEY
name: X-API-KEYtype: apiKeyscopes: business:write
description: Authorization by API Key inside request's X-API-KEY headerin: header
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.publicsquare.com/onboarding/:product");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("X-API-KEY", "<X-API-KEY>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
ResponseClear