The yodl payment configuration can be stored in following places:
me.yodl
Name | Description | ENS | URL |
---|---|---|---|
tokens |
string Comma-separated list of preferred tokens. |
Example:
USDC
USDC,USDT
Default: auto-detect based on your wallet balances | ✅ | ✅ |
| chains
| string
Comma-separated list of supported chain (chainId or shortNames as defined here).
Example:
base
(only receive on base)arb1,base,oeth
You can also use chain ids:
10,8543
base,10
Default: auto-detect based on your wallet gas balances | ✅ | ✅ |
| currency
| string
Accepted (invoice/fiat) currencies. This is useful for countries where there is no stablecoin equivalent. Invoice in CHF but receive USD stable-coins.
Example:
USD
CHF
Default: USD
| ✅ | ✅ |
| amount
| string
Hard-coded amount during checkout. Amount is fixed in the checkout mask. Amount is in currency
.
Example:
10.00
| ❌ | ✅ |
| memo
| string
A holds the transaction/order id or reference to match a payment to an order.Use-cases:
Example:
INVOICE-2345
order_12312
user:abcd
| ❌ | ✅ |
| webhooks
| string[]
an array of (max 5) URLs to send a webhook after payment was indexed.Example:
["<https://example.com/callback>"]
See webhook docs on how to structure endpoints | ✅ | ❌ | | | | | |
JSON
{
"tokens" : "USDC,USDT",
"chains" : "base,oeth",
"currency" : "USD",
"webhooks": : ["https:://tgbot.yodl.me/v1/tx?id=..."]
}
Yodl Beta focuses on USD stablecoins (but technically is not limited to it).
USDT
, USDC
, DAI
, USDGLO
, USDM
, CRVUSD
, XDAI
, WXDAI
eth
Mainnet, swapping fees might be prohibitive.base
Baseoeth
Optimismgno
Gnosis Chainpol
Polygonarb1
Arbitrum Onebsc
Binance Chainavax
Avalanche