v1

latestOpenAPI 3.0.32026-07-2642021.4 KB
Automations

Create an Automation

Creates a new automation.

post/accounts/{account_id}/automations

Path parameters

account_idstring ksuid required
Example:2VcUIIsgARwVbEGlIYbhg6fGG57

The ID of the account

Headers

Idempotency-Keystring required

A unique string used to prevent duplicate operations. Each POST request must use a new idempotency key. Use a UUIDv4 string. Example: idemp-123e4567-e89b-12d3-a456-426614174000

Request body

namestring required

Example request

{
  "name": "XYZ Onramp",
  "source": {
    "value_type": "USD",
    "transfer_type": "wire",
    "funding_instructions": {
      "beneficiary_name": "Jane Business",
      "bank_name": "Example Bank",
      "bank_address": "456 Commerce St., Des Moines, IA 50309",
      "beneficiary_address": "612 Commerce St., Des Moines, IA 50309",
      "account_number": "123456789",
      "routing_number": "063108680"
    }
  },
  "destination": {
    "address_id": "2VcUIIsgARwVbEGlIYbhg6fGG57",
    "value_type": "SBC",
    "transfer_type": "solana"
  },
  "brand": {
    "account_id": "2VcUIIsgARwVbEGlIYbhg6fGG57"
  }
}

Response

Automation successfully created