Skip to main content
PUT
The payment source controls where outgoing Payments spend from; the settlement preference controls where incoming money lands. Choose one type: Vault sends need no per-send wallet signature, but every execution still passes policy, token, spend-window and mandate checks. Payment creation has no funding-source override, so Payments always use this account default. Repeating the same source returns the existing active preference. See Sending payments.

Authorizations

Authorization
string
header
required

HTTP Basic auth. Username is the Stableyard app ID. Password is the app secret. The optional Stableyard-Version request header must match the environment pin.

Headers

Stableyard-Version
enum<string>

Optional contract-version assertion. Omit it to use the app environment's pinned version. A different supported version is accepted only after that environment is explicitly migrated.

Available options:
2026-09-09

Path Parameters

accountId
string
required

Canonical account id returned by the Accounts API.

Example:

"acct_123"

Body

application/json
type
string
required
Allowed value: "connected_wallet"
connectedWalletId
string
required

Must belong to the account.

Example:

"wallet_123"

assetSymbol
enum<string>
Available options:
USDC,
USDT,
THBT,
JPYC,
USDG
Example:

"USDC"

Response

Payment source

id
string
required
Example:

"source_123"

accountId
string
required
Example:

"acct_123"

version
integer
required
Required range: x >= 1
Example:

1

type
enum<string>
required
Available options:
connected_wallet,
vault
chainId
enum<integer>
required

Supported settlement chain IDs: Arbitrum=42161, Ethereum=1, Base=8453, Polygon=137, BNB Smart Chain=56, Avalanche=43114, Robinhood Chain=4663, Tempo=4217, Solana=10103, Movement=10002. Settlement currently supports EVM, Solana, and Movement token destinations. Movement also supports THBT, while Polygon supports direct same-chain JPYC settlement. Tron is deposit-only for settlement-fee escrow.

Available options:
42161,
1,
8453,
137,
56,
43114,
4663,
4217,
10103,
10002
tokenAddress
string
required
Example:

"0xaf88d065e77c8cC2239327C5EDb3A432268e5831"

assetSymbol
enum<string>
required
Available options:
USDC,
USDT,
THBT,
JPYC,
USDG
Example:

"USDC"

status
enum<string>
required
Available options:
active,
disabled
sourceAddress
string | null
Example:

"0xdFD4ab80E163D6864E26F37540563cBf2E52A582"

sourceRef
string | null
Example:

"wallet_123"

createdAt
string<date-time>
updatedAt
string<date-time>