Stables
v2.6.16Stablecoin payments for AI agents: customers, quotes, transfers, payment routes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
create_customer Create customer
Create a new customer in Stables for KYC verification and transfers. Use 'individual' for personal accounts or 'business' for company accounts. Include entitlements like 'base_payout' to enable transactions.
| Parameter | Type | Description |
|---|---|---|
customerType * | string | Type of customer - 'individual' for personal, 'business' for companies |
acceptTerms | boolean | Accept Stables' terms of service and privacy policy |
accountPurpose | string | What will you use Stables for? |
accountPurposeOther | string | Explain purpose (required if accountPurpose is OTHER) |
addressCity | string | City |
addressCountry | string | Two-letter country code (e.g., 'US') |
addressLine1 | string | Street address line 1 |
addressLine2 | string | Street address line 2 |
addressPostalCode | string | Postal/ZIP code |
addressState | string | State or region |
companyName | string | Company name (required for businesses) |
conductMoneyServices | boolean | Whether the company conducts money services |
country | string | Country code ISO 3166-1 alpha-2 (required for businesses, e.g., 'US') |
describeBusiness | string | Description of the business |
describeComplianceControls | string | Description of compliance controls |
describeMoneyServices | string | Describe money services (required if conductMoneyServices is true) |
dob | string | Date of birth in YYYY-MM-DD format (e.g., '1990-01-15') |
doesYourBusinessEngageInHighRiskActivities | string | Does your business engage in high risk activities? |
email | string | Customer's email address |
entitlements | array | List of entitlements to request |
expectedAnnualRevenue | string | Estimated annual revenue in USD |
expectedMonthlyPayments | string | Expected monthly payments in USD |
externalCustomerId | string | Your own reference ID for this customer |
firstName | string | First name (required for individuals) |
incorporatedOn | string | Date of incorporation in YYYY-MM-DD format |
lastName | string | Last name (required for individuals) |
legalAddressCity | string | Legal address city (for businesses) |
legalAddressCountry | string | Legal address country code (for businesses) |
legalAddressLine1 | string | Legal address line 1 (for businesses) |
legalAddressLine2 | string | Legal address line 2 (for businesses) |
legalAddressPostalCode | string | Legal address postal code (for businesses) |
legalAddressState | string | Legal address state (for businesses) |
middleName | string | Middle name |
nationality | string | Two-letter country code (e.g., 'US', 'GB') |
operateInProhibitedCountry | boolean | Does your business operate in any prohibited countries? |
phone | string | Phone number with country code (e.g., '+14155552671') |
registrationLocation | string | Registration location (e.g., state for USA) |
registrationNumber | string | Business registration number |
sourceOfFunds | string | Source of funds |
sourceOfFundsDescription | string | Describe where your business funds come from |
taxId | string | Tax ID (e.g., '12-3456789') |
type | string | Company type (e.g., 'Private Company Limited by Shares') |
website | string | Website URL |
create_customer_onboarding_link Create customer onboarding link
Create a customer and get a hosted verification link for them in one call, so the customer enters their own KYC/KYB details. An existing customer with the same email is reused (customer_created is false) and the fields sent are ignored. Takes the same fields as create_customer; send what you already know.
| Parameter | Type | Description |
|---|---|---|
customerType * | string | Type of customer - 'individual' for personal, 'business' for companies |
acceptTerms | boolean | Accept Stables' terms of service and privacy policy |
accountPurpose | string | What will you use Stables for? |
accountPurposeOther | string | Explain purpose (required if accountPurpose is OTHER) |
addressCity | string | City |
addressCountry | string | Two-letter country code (e.g., 'US') |
addressLine1 | string | Street address line 1 |
addressLine2 | string | Street address line 2 |
addressPostalCode | string | Postal/ZIP code |
addressState | string | State or region |
companyName | string | Company name (required for businesses) |
conductMoneyServices | boolean | Whether the company conducts money services |
country | string | Country code ISO 3166-1 alpha-2 (required for businesses, e.g., 'US') |
describeBusiness | string | Description of the business |
describeComplianceControls | string | Description of compliance controls |
describeMoneyServices | string | Describe money services (required if conductMoneyServices is true) |
dob | string | Date of birth in YYYY-MM-DD format (e.g., '1990-01-15') |
doesYourBusinessEngageInHighRiskActivities | string | Does your business engage in high risk activities? |
email | string | Customer's email address |
entitlements | array | List of entitlements to request |
expectedAnnualRevenue | string | Estimated annual revenue in USD |
expectedMonthlyPayments | string | Expected monthly payments in USD |
externalCustomerId | string | Your own reference ID for this customer |
firstName | string | First name (required for individuals) |
incorporatedOn | string | Date of incorporation in YYYY-MM-DD format |
lastName | string | Last name (required for individuals) |
legalAddressCity | string | Legal address city (for businesses) |
legalAddressCountry | string | Legal address country code (for businesses) |
legalAddressLine1 | string | Legal address line 1 (for businesses) |
legalAddressLine2 | string | Legal address line 2 (for businesses) |
legalAddressPostalCode | string | Legal address postal code (for businesses) |
legalAddressState | string | Legal address state (for businesses) |
middleName | string | Middle name |
nationality | string | Two-letter country code (e.g., 'US', 'GB') |
operateInProhibitedCountry | boolean | Does your business operate in any prohibited countries? |
phone | string | Phone number with country code (e.g., '+14155552671') |
registrationLocation | string | Registration location (e.g., state for USA) |
registrationNumber | string | Business registration number |
rejectUrl | string | Where to send the customer if verification is rejected |
sourceOfFunds | string | Source of funds |
sourceOfFundsDescription | string | Describe where your business funds come from |
successUrl | string | Where to send the customer after verification succeeds |
taxId | string | Tax ID (e.g., '12-3456789') |
ttlInSecs | integer | Link lifetime in seconds (default 1800) |
type | string | Company type (e.g., 'Private Company Limited by Shares') |
verificationType | string | Run one verification step instead of the full flow |
website | string | Website URL |
get_customer Get customer
Get details about a specific customer including their verification status
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID to look up |
include | array | Also return the normalized KYC/KYB data ('verification-profile') or submitted document images ('doc-images'). Slower; only to sync verification data |
list_customers List customers
List customers for the authenticated tenant. Without pageSize the API returns its default first page; pass pageSize and follow pageToken to read them all
| Parameter | Type | Description |
|---|---|---|
pageSize | integer | Customers per page |
pageToken | string | next_page_token from the previous page |
get_verification_link Create verification link
Generate a KYC verification link for a customer. The customer must complete verification before they can make transfers.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID to generate verification link for |
rejectUrl | string | URL to redirect to after rejected verification |
successUrl | string | URL to redirect to after successful verification |
ttlInSecs | number | Time-to-live for the KYC link in seconds (default: 1800) |
verificationType | string | Run one verification step instead of the full flow, e.g. 'proof_of_address' when an RFI asks for it |
update_customer Update customer
Update customer details, entitlements, or verification information
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID to update |
companyName | string | Updated company name (for businesses) |
dob | string | Updated date of birth (YYYY-MM-DD) |
email | string | Updated email address |
entitlements | array | Updated entitlements |
firstName | string | Updated first name |
lastName | string | Updated last name |
middleName | string | Updated middle name |
nationality | string | Updated nationality (two-letter country code) |
phone | string | Updated phone number |
update_customer_metadata Update customer metadata
Update customer metadata key-value pairs
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID to update metadata for |
metadata * | object | Metadata key-value pairs to set |
create_quote Create quote
Get a quote for a currency exchange: the rate, the fees, and what the customer receives. Quotes are short-lived, so create one immediately before the transfer. Off-ramp converts a stablecoin to fiat (source network required, destination country required); on-ramp converts fiat to a stablecoin (destination address required). A swap converts a stablecoin to another stablecoin and/or moves it to another network: USDT or USDC on both sides, sourceNetwork and destinationNetwork both blockchain networks, no destinationCountry. The same stablecoin on the same network is refused. Give sourceAmount to…
| Parameter | Type | Description |
|---|---|---|
destinationCurrency * | string | Destination currency: fiat for off-ramp (e.g. 'EUR'), a stablecoin for on-ramp or swap (e.g. 'USDC') |
sourceCurrency * | string | Source currency: a stablecoin for off-ramp or swap (e.g. 'USDT'), fiat for on-ramp |
customerId | string | The customer the quote is for. With it, the quote also uses payout routes that need the customer to be set up first, and the transfer must then be created for the same customer. Without it, only route… |
destinationAddress | string | Destination wallet address. Required for on-ramp |
destinationAmount | string | Exact amount the recipient must receive, in major units (e.g. '100'), instead of sourceAmount. The quote then says what to send. Refused on routes that do not support an exact destination amount |
destinationCountry | string | Destination country, ISO 2-letter. Required for off-ramp |
destinationNetwork | string | Off-ramp: the payout network. bank = the default domestic scheme, swift = international wire, payid = PayID alias (AUD), mobile_money = a mobile money wallet (needs walletProvider and walletAccount, a… |
fundingSource | string | How the transfer made from this quote will be funded. fund_transfer (default): a deposit for that transfer. prefund_balance prices the quote for payment from your organisation's balance, and the trans… |
metadata | object | Optional metadata |
preview | boolean | Price the quote without persisting it, to show an estimate |
sourceAmount | string | Amount to convert, in major units (e.g. '125.75'). Give exactly one of sourceAmount and destinationAmount |
sourceNetwork | string | Blockchain network of the source. Required for off-ramp and swap, omitted for on-ramp |
get_quote Get quote
Get details about an existing quote including its current status
| Parameter | Type | Description |
|---|---|---|
quoteId * | string | The quote ID to look up |
create_transfer Create transfer (moves money)
Create a transfer from an active quote. The quote must not be expired. With fundingSource fund_transfer (the default) this only creates the transfer and returns deposit instructions; no money moves until someone deposits the funds. With prefund_balance it debits your organisation's balance and starts the payout immediately, so this moves real money: get explicit human approval first. For payouts in AED, CAD, EUR, GBP, MXN, USD you must also supply recipientType, the full beneficiary address, and dateOfBirth when the recipient is an individual. To pay one of the organisation's saved beneficiari…
validate_payment_method Validate payment method
Check payout details (a bank account or a mobile money wallet) against the corridor's rules without creating anything. Use it before create_transfer to find out which fields a currency and network need (beneficiary address, date of birth, bank codes, wallet details), instead of spending a short-lived quote on a rejected transfer. Networks: bank = the default domestic scheme, swift = international wire, payid = PayID alias (AUD), mobile_money = a mobile money wallet (needs walletProvider and walletAccount, and no bank fields). A named domestic scheme (ach, fedwire, fps, chaps, sepa, sepa_instan…
| Parameter | Type | Description |
|---|---|---|
network * | string | Payout network to validate against: bank (default domestic scheme), swift, payid (AUD), mobile_money, or a named domestic scheme |
accountHolderName | string | Account holder's full name, or the company name when recipientType is business |
accountNumber | string | Bank account number, if not using IBAN |
accountType | string | Account type. Required for CAD and USD bank payouts |
addressCity | string | Beneficiary city |
addressCountry | string | Beneficiary country, ISO 2-letter. The complete address is required for AED, CAD, EUR, GBP, MXN, USD |
addressPostalCode | string | Beneficiary postal code |
addressState | string | Beneficiary state or region |
addressStreet | string | Beneficiary street address. Needed, with addressCountry, whenever an address is sent |
bankAddressCity | string | City of the beneficiary's bank |
bankAddressCountry | string | Country of the beneficiary's bank, ISO 2-letter |
bankAddressPostalCode | string | Postal code of the beneficiary's bank |
bankAddressState | string | State or region of the beneficiary's bank |
bankAddressStreet | string | Street address of the beneficiary's bank. A bank address is required for a USD SWIFT payout to an account the paying customer does not hold; street and country at minimum |
bankCode | string | Bank code / institution number (CAD) |
bankCountry | string | Bank country, ISO 2-letter (e.g. 'AU', 'US'). For mobile money, the country of the wallet |
bankCurrency | string | Payout currency, ISO 3-letter (e.g. 'EUR') |
bankName | string | Name of the destination bank. Required unless paying a mobile money wallet |
bicCode | string | BIC (EUR/GBP international) |
branchCode | string | Branch code / transit number (CAD) |
branchName | string | Bank branch name |
bsbCode | string | BSB code (Australia) |
cnaps | string | CNAPS (China) |
dateOfBirth | string | Beneficiary date of birth, YYYY-MM-DD. Required when recipientType is individual for AED, CAD, EUR, GBP, MXN, USD |
documents | array | Supporting documents for the payout, such as an invoice or contract |
iban | string | IBAN (EU/international) |
ifscCode | string | IFSC code (India) |
items | array | Goods the payout pays for, as invoice lines. Required, with logisticsTrackingDetails, for a CNY bank payout with purposeCode GENERAL_GOODS_TRADES |
logisticsTrackingDetails | array | Shipment tracking for the goods the payout pays for. Required, with items, for a CNY bank payout with purposeCode GENERAL_GOODS_TRADES |
nameInLocalLanguage | string | Account holder name in the local language (e.g. Chinese characters for CNY) |
nationalIdentificationNumber | string | National identification number of the account holder |
payId | string | PayID alias (AUD only). Requires payIdType |
payIdType | string | PayID alias type. Required when payId is given |
paymentRail | string | USD payouts only: prefer ACH or wire. Omit for the account's default. A rail that is not available is refused |
phone | string | Beneficiary phone number in E.164 format (e.g. '+5215512345678') |
purposeCode | string | The purpose the transfer will carry. Some corridors ask for different supporting details per purpose (CNY: logisticsTrackingDetails and items for goods trade, a document for services); without it ever… |
quoteId | string | Validate against this quote's corridor |
recipientType | string | Beneficiary type. Required for AED, CAD, EUR, GBP, MXN, USD |
routingNumber | string | ABA routing number (US) |
sortCode | string | Sort code (UK) |
swiftCode | string | SWIFT code |
walletAccount | string | Mobile money only: the wallet's identifier, such as its mobile number (e.g. '+233241234567'). Required with walletProvider |
walletAccountType | string | Mobile money only: the kind of identifier in walletAccount. Only needed where the wallet provider accepts more than one |
walletProvider | string | Mobile money only: the wallet provider code, as listed for the corridor (e.g. 'mtn_gh'). Requires walletAccount, and every bank field (bankName, accountNumber, iban, bank codes) must be left out |
get_transfer Get transfer
Get the current status and details of a transfer, including its payment reference, a SWIFT payout's tracking (UETR, then the MT103 once issued), an open compliance hold and any refund
| Parameter | Type | Description |
|---|---|---|
transferId * | string | The transfer ID to look up |
list_transfers List transfers
List transfers with optional filters for status, type, or customer
| Parameter | Type | Description |
|---|---|---|
customerId | string | Filter by customer ID |
pageSize | number | Number of transfers per page (default: 20) |
pageToken | string | Token for the next page of results |
status | string | Filter by transfer status |
type | string | Filter by transfer type. swap is crypto to crypto |
list_beneficiaries List saved beneficiaries
List the organisation's saved beneficiaries, most recently paid first. Use it to find the beneficiaryId that create_transfer takes with destinationType 'beneficiary'.
| Parameter | Type | Description |
|---|---|---|
currency | string | Only beneficiaries paid in this currency (e.g. 'EUR') |
network | string | Only beneficiaries paid by this network: bank, swift, mobile_money (a wallet) or unionpay (personal remittance to mainland China in CNY) |
pageSize | number | Beneficiaries per page (default 50, max 100) |
pageToken | string | Token for the next page of results |
search | string | Case-insensitive match on label, account holder or bank name |
status | string | Defaults to active. Archived beneficiaries cannot be paid |
get_beneficiary Get saved beneficiary
Get a saved beneficiary's recipient and bank details, and whether it still passes today's payout rules. Rules tighten over time, so an older beneficiary can need more fields before it can be paid.
| Parameter | Type | Description |
|---|---|---|
beneficiaryId * | string | The beneficiary ID to look up |
create_beneficiary Save beneficiary
Save a recipient and their bank account or mobile money wallet for a currency and network, so later transfers can pay it by id. The details are validated exactly as a transfer on that network would be. Saving an account that is already saved returns the existing beneficiary with its details refreshed, and revives it if archived. For mobile_money send walletProvider and walletAccount with accountHolderName, bankCountry and bankCurrency, and no bank fields. A CNY bank payout needs nameInLocalLanguage and nationalIdentificationNumber, and for goods trade (purposeCode GENERAL_GOODS_TRADES) logisti…
| Parameter | Type | Description |
|---|---|---|
network * | string | Network the beneficiary is paid by: bank = local transfer, swift = international wire, mobile_money = a mobile money wallet (walletProvider and walletAccount, no bank fields), unionpay = personal remi… |
accountHolderName | string | Account holder's full name, or the company name when recipientType is business |
accountNumber | string | Bank account number, if not using IBAN |
accountType | string | Account type. Required for CAD and USD bank payouts |
addressCity | string | Beneficiary city |
addressCountry | string | Beneficiary country, ISO 2-letter. The complete address is required for AED, CAD, EUR, GBP, MXN, USD |
addressPostalCode | string | Beneficiary postal code |
addressState | string | Beneficiary state or region |
addressStreet | string | Beneficiary street address. Needed, with addressCountry, whenever an address is sent |
bankAddressCity | string | City of the beneficiary's bank |
bankAddressCountry | string | Country of the beneficiary's bank, ISO 2-letter |
bankAddressPostalCode | string | Postal code of the beneficiary's bank |
bankAddressState | string | State or region of the beneficiary's bank |
bankAddressStreet | string | Street address of the beneficiary's bank. A bank address is required for a USD SWIFT payout to an account the paying customer does not hold; street and country at minimum |
bankCode | string | Bank code / institution number (CAD) |
bankCountry | string | Bank country, ISO 2-letter (e.g. 'AU', 'US'). For mobile money, the country of the wallet |
bankCurrency | string | Payout currency, ISO 3-letter (e.g. 'EUR') |
bankName | string | Name of the destination bank. Required unless paying a mobile money wallet |
bicCode | string | BIC (EUR/GBP international) |
branchCode | string | Branch code / transit number (CAD) |
branchName | string | Bank branch name |
bsbCode | string | BSB code (Australia) |
cnaps | string | CNAPS (China) |
dateOfBirth | string | Beneficiary date of birth, YYYY-MM-DD. Required when recipientType is individual for AED, CAD, EUR, GBP, MXN, USD |
iban | string | IBAN (EU/international) |
ifscCode | string | IFSC code (India) |
label | string | Display name (e.g. 'Acme Supplies (EUR)'). Defaults to the account holder name |
nameInLocalLanguage | string | Account holder name in the local language (e.g. Chinese characters for CNY) |
nationalIdentificationNumber | string | National identification number of the account holder |
payId | string | PayID alias (AUD only). Requires payIdType |
payIdType | string | PayID alias type. Required when payId is given |
paymentRail | string | USD payouts only: prefer ACH or wire. Omit for the account's default. A rail that is not available is refused |
phone | string | Beneficiary phone number in E.164 format (e.g. '+5215512345678') |
recipientType | string | Beneficiary type. Required for AED, CAD, EUR, GBP, MXN, USD |
routingNumber | string | ABA routing number (US) |
sortCode | string | Sort code (UK) |
swiftCode | string | SWIFT code |
walletAccount | string | Mobile money only: the wallet's identifier, such as its mobile number (e.g. '+233241234567'). Required with walletProvider |
walletAccountType | string | Mobile money only: the kind of identifier in walletAccount. Only needed where the wallet provider accepts more than one |
walletProvider | string | Mobile money only: the wallet provider code, as listed for the corridor (e.g. 'mtn_gh'). Requires walletAccount, and every bank field (bankName, accountNumber, iban, bank codes) must be left out |
archive_beneficiary Archive saved beneficiary
Archive a saved beneficiary. It leaves active listings and is refused as a transfer destination; transfers already made to it are unaffected. Saving the same account again revives it.
| Parameter | Type | Description |
|---|---|---|
beneficiaryId * | string | The beneficiary ID to archive |
create_payment_route Create payment route
Create a payment route for a customer. fiat_to_crypto (the default) issues a virtual bank account: fiat deposits convert to a stablecoin and pay out to a wallet, so destinationAddress and destinationPaymentRail are required. Set sourcePaymentRail to 'swift' for a SWIFT collection account: an IBAN that receives international SWIFT transfers, for business customers whose verification is approved and who hold the base_pay_in entitlement; it is not in the customer's name, and settles in USDT on Tron. crypto_to_fiat (an off-ramp route) issues a permanent USDT or USDC deposit address on sourceNetwor…
create_virtual_account Create payment route (deprecated name)
Deprecated: renamed to create_payment_route; this name will be removed, call create_payment_route instead. Create a payment route for a customer. fiat_to_crypto (the default) issues a virtual bank account: fiat deposits convert to a stablecoin and pay out to a wallet, so destinationAddress and destinationPaymentRail are required. Set sourcePaymentRail to 'swift' for a SWIFT collection account: an IBAN that receives international SWIFT transfers, for business customers whose verification is approved and who hold the base_pay_in entitlement; it is not in the customer's name, and settles in USDT…
get_payment_route Get payment route
Get one payment route by ID, including its deposit instructions (bank details, or an off-ramp or swap route's deposit address) and payout destination
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The payment route ID |
get_virtual_account Get payment route (deprecated name)
Deprecated: renamed to get_payment_route; this name will be removed, call get_payment_route instead. Get one payment route by ID, including its deposit instructions (bank details, or an off-ramp or swap route's deposit address) and payout destination
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The payment route ID |
list_payment_routes List payment routes
List payment routes for one customer, or across every customer when customerId is omitted
| Parameter | Type | Description |
|---|---|---|
customerId | string | Only this customer's routes; omit to list routes across all customers |
limit | number | Maximum number of routes to return |
startingAfter | string | Return routes after this route ID (the last ID of the previous page) |
status | string | Filter by route status |
list_virtual_accounts List payment routes (deprecated name)
Deprecated: renamed to list_payment_routes; this name will be removed, call list_payment_routes instead. List payment routes for one customer, or across every customer when customerId is omitted
| Parameter | Type | Description |
|---|---|---|
customerId | string | Only this customer's routes; omit to list routes across all customers |
limit | number | Maximum number of routes to return |
startingAfter | string | Return routes after this route ID (the last ID of the previous page) |
status | string | Filter by route status |
list_route_whitelist List payment route allowed senders
List the bank accounts whitelisted to pay into an AUD payment route. Some Australian routes only accept deposits from whitelisted source accounts.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The AUD payment route ID |
add_route_whitelist_account Add payment route allowed sender
Whitelist an Australian bank account (BSB and account number) to pay into an AUD payment route.
| Parameter | Type | Description |
|---|---|---|
accountNumber * | string | Source account number |
bsbNumber * | string | Source account BSB |
customerId * | string | The customer ID |
virtualAccountId * | string | The AUD payment route ID |
enabled | boolean | Whether deposits from it are accepted now |
update_route_whitelist_account Update payment route allowed sender
Change or disable a whitelisted source account on an AUD payment route. Send the full record: BSB, account number and status.
| Parameter | Type | Description |
|---|---|---|
accountNumber * | string | Source account number |
bsbNumber * | string | Source account BSB |
customerId * | string | The customer ID |
enabled * | boolean | false to stop accepting deposits from it |
sourceAccountId * | integer | The whitelist entry ID (from list_route_whitelist) |
virtualAccountId * | string | The AUD payment route ID |
update_payment_route Update payment route
Update a payment route's settings (e.g., deposit handling mode)
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
depositHandlingMode * | string | New deposit handling mode |
virtualAccountId * | string | The payment route ID to update |
update_virtual_account Update payment route (deprecated name)
Deprecated: renamed to update_payment_route; this name will be removed, call update_payment_route instead. Update a payment route's settings (e.g., deposit handling mode)
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
depositHandlingMode * | string | New deposit handling mode |
virtualAccountId * | string | The payment route ID to update |
set_payment_route_status Turn payment route off or on
Deactivate a payment route so it stops accepting new deposits, or reactivate it. You can reactivate only a route your organization deactivated (deactivation_reason TENANT_REQUEST); a route Stables deactivated can only be reactivated by Stables support. Reactivating may charge the current month's account fee from the prefund balance if it has not been paid.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
status * | string | 'deactivated' to switch the route off, 'activated' to switch it back on |
virtualAccountId * | string | The payment route ID |
set_virtual_account_status Turn payment route off or on (deprecated name)
Deprecated: renamed to set_payment_route_status; this name will be removed, call set_payment_route_status instead. Deactivate a payment route so it stops accepting new deposits, or reactivate it. You can reactivate only a route your organization deactivated (deactivation_reason TENANT_REQUEST); a route Stables deactivated can only be reactivated by Stables support. Reactivating may charge the current month's account fee from the prefund balance if it has not been paid.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
status * | string | 'deactivated' to switch the route off, 'activated' to switch it back on |
virtualAccountId * | string | The payment route ID |
get_payment_route_history Get payment route history
Get the activity history for a payment route: each deposit and the payout it triggered
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The payment route ID |
limit | number | Maximum number of events to return (default: 10) |
get_virtual_account_history Get payment route history (deprecated name)
Deprecated: renamed to get_payment_route_history; this name will be removed, call get_payment_route_history instead. Get the activity history for a payment route: each deposit and the payout it triggered
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The payment route ID |
limit | number | Maximum number of events to return (default: 10) |
update_route_destination Change payment route destination
Change the payout wallet on an existing payment route. Deposits after this point are paid out to the new address; use it when a customer rotates wallets rather than creating a second route.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
destinationAddress * | string | New payout wallet address |
destinationPaymentRail * | string | Blockchain network the new address belongs to |
virtualAccountId * | string | The payment route ID |
destinationCurrency | string | Stablecoin to receive |
register_route_payid Register PayID on payment route
Register a PayID for an activated AUD payment route, so payers can send to an email-style alias instead of a BSB and account number. Calling it again on a route that already has one returns the existing PayID.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
virtualAccountId * | string | The AUD payment route ID |
create_api_key Create API key
Create a new API key for accessing the Stables API. The secret key is only shown once on creation - save it immediately.
| Parameter | Type | Description |
|---|---|---|
name * | string | A descriptive name for this API key (e.g., 'Production Bot', 'Agent Smith') |
metadata | object | Optional metadata to attach to the key |
list_api_keys List API keys
List all API keys for the current account
| Parameter | Type | Description |
|---|---|---|
pageSize | number | Number of keys per page |
pageToken | string | Token for the next page |
get_api_key Get API key
Get details about a specific API key
| Parameter | Type | Description |
|---|---|---|
apiKeyId * | string | The API key ID to look up |
revoke_api_key Revoke API key
Revoke an API key. This permanently disables the key and cannot be undone.
| Parameter | Type | Description |
|---|---|---|
apiKeyId * | string | The API key ID to revoke |
create_webhook Create webhook
Subscribe to Stables events via webhook. You'll receive POST requests to your URL when events occur. Event types are dotted and lowercase. Use 'all' to receive everything. Security: Set a secret to enable HMAC-SHA256 signature verification via X-Webhook-Signature header.
| Parameter | Type | Description |
|---|---|---|
eventTypes * | array | Event types to subscribe to (e.g. ['transfer.updated.status_transitioned']), or ['all'] |
name * | string | A descriptive name for this webhook (e.g., 'Transfer status notifications') |
url * | string | The HTTPS URL to receive webhook POST requests |
secret | string | Optional signing secret for HMAC-SHA256 webhook signature verification |
list_webhooks List webhooks
List all webhook subscriptions for the current account
delete_webhook Delete webhook
Delete a webhook subscription. You will stop receiving events at this endpoint.
| Parameter | Type | Description |
|---|---|---|
webhookId * | string | The webhook subscription ID to delete |
list_webhook_deliveries List webhook deliveries
List recent webhook delivery attempts with their HTTP status and retry state. This is the first place to look when an integration is not receiving events: it shows whether Stables sent them and what the endpoint answered.
| Parameter | Type | Description |
|---|---|---|
eventType | string | Filter by event type (e.g. 'transfer.created') |
pageSize | number | How many attempts to return (default 10, max 50) |
status | string | Filter by delivery status |
get_balance Get balance
Get your organisation's stablecoin balance, one entry per asset and network held. Also says whether transfers may be paid from it (transfers_enabled), which create_transfer with fundingSource 'prefund_balance' needs.
get_balance_wallet Get balance wallet
Get the deposit wallet that tops up your balance on one network, and its status. The address is only present once the status is 'active'.
| Parameter | Type | Description |
|---|---|---|
network | string | Network (default polygon) |
create_balance_wallet Create balance wallet
Create the deposit wallet that tops up your balance on a network. Creation is asynchronous: the first answer is 'creating'; poll get_balance_wallet until it is 'active'. Safe to call again while creation is in flight.
| Parameter | Type | Description |
|---|---|---|
network * | string | Network for the wallet |
list_balance_activity List balance activity
List deposits that have credited your balance, newest first, with amount, network, transaction hash and sender.
| Parameter | Type | Description |
|---|---|---|
network | string | Only this network |
pageSize | integer | Results per page (default 20) |
pageToken | string | next_page_token from the previous page |
list_pending_balance_deposits List pending balance deposits
List deposits seen on-chain but held before crediting your balance, with the reason: the sender is not a whitelisted wallet, or compliance review.
list_whitelisted_wallets List allowed wallets
List the wallets whitelisted to deposit into and receive withdrawals from your balance. Only 'active' wallets can. Whitelisting a wallet is done in the dashboard; there is no API for it.
| Parameter | Type | Description |
|---|---|---|
network | string | Only this network |
pageSize | integer | Results per page (default 20) |
pageToken | string | next_page_token from the previous page |
status | string | Only this status. Archived wallets appear only when asked for |
get_developer_fee Get developer fee
Get your developer fee: what you charge your customers on top of Stables' fees on every routing onramp and offramp, as a percent, a fixed USD amount per transaction, or both.
set_developer_fee Set developer fee
Set or change your developer fee. Fields you omit keep their value; null stops charging that part, but at least one part must remain (use remove_developer_fee to stop it altogether). Applies to transactions quoted after the change.
| Parameter | Type | Description |
|---|---|---|
fixedAmountUsd | string | null | Fixed USD amount per routing onramp and offramp, as a decimal string with at most 2 decimals, above 0 and at most 10. Omit to keep the current value; null to stop charging it. |
percent | string | null | Percent of every routing onramp and offramp, as a decimal string with at most 2 decimals, above 0 and at most 10. Omit to keep the current value; null to stop charging it. |
remove_developer_fee Remove developer fee
Stop charging any developer fee on new routing transactions. Transactions already quoted keep their fees.
list_available_entitlements List available entitlements
List the entitlements (products and payment rails, e.g. 'aed_local') a customer has not applied for yet, whether each is available to them now, and the verification it needs.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
request_entitlements Request entitlements
Apply for one or more entitlements for an existing customer, e.g. to add a payment rail. Check list_available_entitlements first. If Stables needs more verification, the response lists what is missing; send it with submit_entitlement_requirements.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
entitlements * | array | Entitlement names, e.g. ['aed_local'] |
submit_entitlement_requirements Submit entitlement requirements
Send further verification data Stables asked for on a requested entitlement. The fields are those of the customer record in snake_case (e.g. tax_id_number, address, financial_profile, id_documents, proof_of_address_documents); send only what is missing. Documents are base64 data.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
entitlement * | string | The entitlement name, e.g. 'aed_local' |
requirements * | object | The missing fields, snake_case as in the Update Customer reference |
list_rfis List information requests
List the organisation's compliance requests for information (RFIs), newest first: what Stables compliance needs before it releases a held payment or verification. Open and submitted ones by default. Check this when a transfer or deposit is held, or subscribe to the rfi.* webhooks.
| Parameter | Type | Description |
|---|---|---|
cursor | string | next_cursor from the previous page |
customerId | string | Only this customer's RFIs |
limit | integer | Results per page |
status | array | Only these statuses (default: open and submitted) |
transactionReferenceId | string | Only RFIs about this transfer or deposit |
type | array | Only these RFI types |
list_customer_rfis List customer information requests
List one customer's compliance requests for information (RFIs), with what each requirement needs next.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
status | string | Only this status |
get_rfi Get information request
Get one compliance request for information (RFI): why it was raised, its requirements and how to answer each.
| Parameter | Type | Description |
|---|---|---|
rfiId * | string | The RFI ID |
get_rfi_evidence_form Get information request form
Get the form an `evidence` requirement on an RFI asks for (for example the source of funds behind one held payment), with the current submission if one was sent. Build the submit_rfi_evidence answers from its fields and documents.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
requirementId * | string | The requirement ID (type 'evidence') |
rfiId * | string | The RFI ID |
submit_rfi_evidence Submit information request evidence
Submit the answers and documents an `evidence` requirement asks for, in one request, keyed as get_rfi_evidence_form lists them. Files are base64 data URLs ('data:application/pdf;base64,...'). The requirement moves to 'submitted' for Stables compliance to review; approving it releases the held payment once nothing else is outstanding. Confirm the content with a human before sending: it goes to compliance as the customer's answer.
| Parameter | Type | Description |
|---|---|---|
answers * | object | Answers keyed by the form's field keys and document wire_field names, e.g. { funds_origin, funds_origin_explanation, supporting_documents: ['data:application/pdf;base64,...'] } |
customerId * | string | The customer ID |
requirementId * | string | The requirement ID (type 'evidence') |
rfiId * | string | The RFI ID |
get_kyc_capabilities Get KYC capabilities
List the verification capabilities a customer holds (for example proof_of_address), the level that granted each, and when. A `kyc_capability` requirement on an RFI is satisfied once the customer holds that capability.
| Parameter | Type | Description |
|---|---|---|
customerId * | string | The customer ID |
add_document Add document
Attach a supporting document (invoice, contract or other) to a transfer or a payment route deposit, for example when Stables compliance asks for one. The file goes as a base64 data URL ('data:application/pdf;base64,...').
| Parameter | Type | Description |
|---|---|---|
base64Url * | string | The file as a data URL: 'data:<mime>;base64,<data>' |
fileName * | string | File name shown to Stables, e.g. 'invoice-2041.pdf' |
on * | string | What the document belongs to: a transfer, or a deposit on a payment route |
transactionId * | string | The transfer ID, or the deposit ID from get_payment_route_history |
type | string | What the document is (default other) |
list_documents List documents
List the documents attached to a transfer or a payment route deposit, newest first.
| Parameter | Type | Description |
|---|---|---|
on * | string | What the document belongs to: a transfer, or a deposit on a payment route |
transactionId * | string | The transfer ID, or the deposit ID from get_payment_route_history |
get_document_download_url Get document download link
Get a short-lived link to download a document attached to a transfer or a payment route deposit.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | The document ID from list_documents |
on * | string | What the document belongs to: a transfer, or a deposit on a payment route |
transactionId * | string | The transfer ID, or the deposit ID from get_payment_route_history |
delete_document Delete document
Remove a document from a transfer or a payment route deposit. This cannot be undone, so confirm with a human first.
| Parameter | Type | Description |
|---|---|---|
documentId * | string | The document ID from list_documents |
on * | string | What the document belongs to: a transfer, or a deposit on a payment route |
transactionId * | string | The transfer ID, or the deposit ID from get_payment_route_history |
simulate_route_deposit Simulate payment route deposit (sandbox)
SANDBOX ONLY. Simulate a deposit into a payment route so you can watch the conversion and payout complete without real money: a fiat deposit for an on-ramp or fiat-to-fiat route, or the route's USDT/USDC arriving on its address for an off-ramp (crypto_to_fiat) or swap (crypto_to_crypto) route. Fails on production.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Deposit amount in major units of the route's source currency (e.g. '500.00') |
customerId * | string | The customer ID |
virtualAccountId * | string | The payment route ID |
externalDepositId | string | Your own reference for this deposit |
scenario | string | 'completed' runs the deposit through to payout, 'failed' exercises the failure path, 'create_only' stops at the deposit. Off-ramp routes take 'completed' only |
senderName | string | Name to attribute the deposit to (fiat routes) |
senderReference | string | Payment reference on the deposit; for an off-ramp or swap route, the sending wallet address |
simulate_transfer_deposit Simulate transfer deposit (sandbox)
SANDBOX ONLY. Simulate the customer sending the crypto an off-ramp transfer is waiting on, so the transfer can progress to payout without an on-chain payment. Fails on production.
| Parameter | Type | Description |
|---|---|---|
transferId * | string | The transfer awaiting funds |
simulate_balance_deposit Simulate balance deposit (sandbox)
SANDBOX ONLY. Simulate a stablecoin deposit into your balance wallet on a network. The sender defaults to your first allowed (whitelisted) wallet, so a plain call credits the balance; an unknown sender is held for review, as it would be in production. Fails on production.
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount in major units, e.g. '250' or '250.5' (at most 6 decimals) |
network * | string | Balance network |
currency | string | Stablecoin deposited |
senderAddress | string | On-chain sender. Defaults to your first allowed wallet on the network |