Skip to main content
POST
Create a destination

Authorizations

Api-Access-Key
string
header
required

An API key associated with a security role

Headers

Idempotency-Key
string
required

Client-supplied key that deduplicates retried requests. Reusing a key returns the original result instead of repeating the action.

Api-Signature
string
required

A hex-encoded Ed25519 signature of timestamp_epoch_seconds + uppercase(http_method) + request_path + request_body.

Pattern: ^[0-9A-Fa-f]{128,160}$
Api-Timestamp
integer<int64>
required

Current timestamp, represented as unix epoch seconds

Path Parameters

accountId
string<uuid>
required

Account ID or subaccount ID (a UUID).

Example:

"3486b413-93d3-4447-afce-2b9c9dc34a32"

Body

application/json

Destination to create

owner
Destination Owner · object
required

The entity that owns a destination.

type
enum<string>
required

Indicates which variant object carries the destination's details.

Available options:
CRYPTO,
FIAT
Example:

"CRYPTO"

name
string
required

The name that will be used to identify this destination.

Maximum string length: 32
externalId
string

A client-provided unique ID for the request.

As well as making the request safe to retry, this ID is recorded against the destination it creates and stays a valid key for addressing that destination. Because it is permanent, it must be unique within your organization for all time: reusing it with a different body returns a conflict.

Maximum string length: 128
Example:

"1ca86e65-4340-4876-85f4-8334852b9c43"

description
string

Details about this destination.

destinationInfo
Destination Crypto Data · object

The destination information.

amlQuestionnaire
Destination AML Questionnaire · object

Anti-money laundering questionnaire. Required for Anchorage Digital organizations. Must not be provided for Porto organizations — including this field for Porto organizations will result in an error.

Response

Destination creation accepted

data
Created Destination · object
required

The identifiers and initial status of a destination whose creation has been accepted.