Creating a corporate account [Beta]

When you create a corporate account, additional characteristics can be assigned to the account. The account_Id generated by this request will still be valid for any other account oriented endpoint in the platform, and will require an account specific token.

Body parameters

Parameter

Description

Type

Required

division_id

Division ID to which the account belongs

String

Yes

program_id

Program ID to which the account belongs

Number

Yes

applicant

Information about the applicant, that will become the account holder

Object

  • document_number (string, required) – Government document number
  • name (string, required) – Applicant name
  • custom_fields (object) – Any name-value fields

Yes

location_id (DEPRECATED)

Location ID

Number

Yes

calendar_id (DEPRECATED)

Calendar ID

Number

Yes

parent_account_id

Account ID for the parent account of the account being created

Number

Yes

target_balance

Target balance for the account after sweep routines

Double

Request

curl --request POST \
     --url https://api-sandbox.pismolabs.io/corporate/accounts \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "division_id": "49603301-d995-4ae2-b130-5202562a6487",
     "program_id": 8674,
     "applicant": {
          "document_number": "812-04-5147",
          "name": "Chester Fields"
     },
     "parent_account_id": 547984,
     "target_balance": 0,
}

Response

{
  "account_id": 178800,
  "customer_id": 156701,
  "entity_id": 107322,
  "program_id": 8674
}

Did this page help you?