Payments

Create external account

Changed on

Links an external fiat or crypto account to a participant. Fiat accounts are linked via a Plaid processor token. Crypto account support requires the feature to be enabled on the calling platform.

post/payments/external_accounts

Request

  • Base URL
    https://api.cert.zerohash.com
  • URL
    https://api.cert.zerohash.com/payments/external_accounts
  • Auth
    API key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.

Request body

OR

Example request

{
  "participant_code": "ALI123",
  "account_nickname": "test1",
  "plaid_processor_token": "0f68333e-2114-469d-b505-c850d776e063"
}

Response

Successfully created external account. Returns the created resource with generated IDs and timestamps.

OR

Example response

{
  "request_id": "0f68333e-2114-469d-b505-c850d776e063",
  "participant_code": "ALI123",
  "platform_code": "TES123",
  "account_nickname": "test1",
  "external_account_id": "0f68333e-2114-469d-b505-c850d776e063",
  "created_at": "2026-05-04T11:54:13.099Z"
}

Changes

    • breaking

      removed subschema #1: Fiat Account subschema #2: Crypto Account from the request body oneOf list

    • info

      added subschema #1: Fiat Account subschema #2: Crypto Account to the request body anyOf list