Skip to main content
type CreateDepositDestinationBody = {
  idempotencyKey?: string;
} & CreateDepositDestinationRequest;
Defined in: _vendor/api/resources/depositDestinations/client/requests/CreateDepositDestinationBody.ts:26

Type Declaration

idempotencyKey?

optional idempotencyKey: string;

Example

{
    idempotencyKey: "8e03978e-40d5-43e8-bc93-6894a57f9324",
    type: "crypto",
    accountId: "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
    target: {
        accountId: "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
        asset: "usd"
    },
    metadata: {
        "customer_id": "123e4567-e89b-12d3-a456-426614174000",
        "reference": "order-12345"
    },
    crypto: {
        network: "base"
    }
}