Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,22 +143,24 @@ grid accounts internal list --platform
# List external accounts
grid accounts external list [--customer-id <id>]

# The --account-type value is the API discriminator (currency-suffixed *_ACCOUNT
# or a wallet type). A beneficiary is required for every fiat account type.

# Create US bank account
grid accounts external create \
--customer-id <id> \
--currency USD \
--account-type US_ACCOUNT \
--account-type USD_ACCOUNT \
--account-number "123456789" \
--routing-number "021000021" \
--account-category CHECKING \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "John Doe"

# Create Mexico CLABE account
grid accounts external create \
--customer-id <id> \
--currency MXN \
--account-type CLABE \
--account-type MXN_ACCOUNT \
--clabe "012345678901234567" \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Carlos Garcia" \
Expand All @@ -169,7 +171,7 @@ grid accounts external create \
grid accounts external create \
--customer-id <id> \
--currency INR \
--account-type UPI \
--account-type INR_ACCOUNT \
--upi-id "name@okaxis" \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Rajesh Kumar" \
Expand All @@ -180,8 +182,9 @@ grid accounts external create \
grid accounts external create \
--customer-id <id> \
--currency BRL \
--account-type PIX \
--account-type BRL_ACCOUNT \
--pix-key "12345678901" \
--pix-key-type CPF \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Maria Silva" \
--beneficiary-birth-date "1990-05-10" \
Expand All @@ -194,7 +197,6 @@ grid accounts external create \
--account-type NGN_ACCOUNT \
--account-number "1234567890" \
--bank-name "First Bank" \
--purpose GOODS_OR_SERVICES \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Chidi Okonkwo" \
--beneficiary-birth-date "1992-08-20" \
Expand All @@ -204,7 +206,7 @@ grid accounts external create \
grid accounts external create \
--customer-id <id> \
--currency EUR \
--account-type IBAN \
--account-type EUR_ACCOUNT \
--iban "DE89370400440532013000" \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Hans Mueller"
Expand Down Expand Up @@ -302,8 +304,10 @@ grid sandbox fund <internalAccountId> --amount 100000
# Simulate sending funds to a JIT quote
grid sandbox send --quote-id <quoteId> --currency USDC

# Simulate receiving an UMA payment
# Simulate receiving an UMA payment (--sender-uma is required; identify the
# receiver with either --uma-address or --customer-id)
grid sandbox receive \
--sender-uma '[email protected]' \
--uma-address '[email protected]' \
--amount 1000 \
--currency USD
Expand Down Expand Up @@ -341,7 +345,7 @@ On error:
grid accounts external create \
--customer-id <customerId> \
--currency MXN \
--account-type CLABE \
--account-type MXN_ACCOUNT \
--clabe "012345678901234567" \
--beneficiary-type INDIVIDUAL \
--beneficiary-name "Carlos Garcia" \
Expand Down
Loading
Loading