[{"data":1,"prerenderedAt":669},["ShallowReactive",2],{"content-\u002Fblog\u002Fcli":3},{"id":4,"title":5,"author":6,"body":7,"categories":640,"category":644,"categoryType":644,"date":645,"description":646,"extension":647,"faq":648,"howto":644,"isBlog":661,"isChangelog":662,"meta":663,"navigation":661,"path":664,"rawbody":665,"seo":666,"stem":667,"thumbnail":16,"__hash__":668},"content\u002Fblog\u002Fcli.md","BlindPay CLI","Alves",{"type":8,"value":9,"toc":626},"minimark",[10,17,31,34,39,42,72,75,102,106,116,158,162,173,178,181,227,231,234,286,290,293,332,336,339,372,376,379,409,413,416,419,467,520,532,536,552,556,559,613,622],[11,12,13],"p",{},[14,15],"img",{"alt":5,"src":16},"\u002Fimages\u002Fblog\u002Fcli.png",[11,18,19,20,25,26,30],{},"BlindPay is the most AI-native stablecoin infrastructure available today. Every layer of the platform, the API, the ",[21,22,24],"a",{"href":23},"\u002Fblog\u002Fmcp","MCP Server",", the ",[21,27,29],{"href":28},"\u002Fblog\u002Fagent-skills","Agent Skills",", and now the CLI, is built so that AI agents and developers can operate global payment infrastructure with equal ease. No other stablecoin platform offers this depth of integration.",[11,32,33],{},"The BlindPay CLI brings the full power of that infrastructure to your terminal. You or any AI agent can manage customers, execute payouts, create virtual accounts and configure webhooks without leaving your shell. It works for developers typing commands by hand, and it works just as well for AI agents like Claude, Codex, and automation scripts that need structured, predictable output.",[35,36,38],"h2",{"id":37},"installation","Installation",[11,40,41],{},"Install globally with npm:",[43,44,49],"pre",{"className":45,"code":46,"language":47,"meta":48,"style":48},"language-bash shiki shiki-themes github-light","npm install -g @blindpay\u002Fcli\n","bash","",[50,51,52],"code",{"__ignoreMap":48},[53,54,57,61,65,69],"span",{"class":55,"line":56},"line",1,[53,58,60],{"class":59},"s7eDp","npm",[53,62,64],{"class":63},"sYBdl"," install",[53,66,68],{"class":67},"sYu0t"," -g",[53,70,71],{"class":63}," @blindpay\u002Fcli\n",[11,73,74],{},"Or run without installing:",[43,76,78],{"className":45,"code":77,"language":47,"meta":48,"style":48},"npx @blindpay\u002Fcli \u003Ccommand>\n",[50,79,80],{"__ignoreMap":48},[53,81,82,85,88,92,95,99],{"class":55,"line":56},[53,83,84],{"class":59},"npx",[53,86,87],{"class":63}," @blindpay\u002Fcli",[53,89,91],{"class":90},"sD7c4"," \u003C",[53,93,94],{"class":63},"comman",[53,96,98],{"class":97},"sgsFI","d",[53,100,101],{"class":90},">\n",[35,103,105],{"id":104},"setup","Setup",[11,107,108,109,115],{},"Grab your API key and instance ID from the ",[21,110,114],{"href":111,"rel":112},"https:\u002F\u002Fapp.blindpay.com",[113],"nofollow","BlindPay dashboard"," and configure:",[43,117,119],{"className":45,"code":118,"language":47,"meta":48,"style":48},"blindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>\n",[50,120,121],{"__ignoreMap":48},[53,122,123,126,129,132,135,137,140,143,146,149,151,154,156],{"class":55,"line":56},[53,124,125],{"class":59},"blindpay",[53,127,128],{"class":63}," config",[53,130,131],{"class":63}," set",[53,133,134],{"class":67}," --api-key",[53,136,91],{"class":90},[53,138,139],{"class":63},"your-api-ke",[53,141,142],{"class":97},"y",[53,144,145],{"class":90},">",[53,147,148],{"class":67}," --instance-id",[53,150,91],{"class":90},[53,152,153],{"class":63},"your-instance-i",[53,155,98],{"class":97},[53,157,101],{"class":90},[35,159,161],{"id":160},"what-you-can-do","What You Can Do",[11,163,164,165,168,169,172],{},"The CLI covers the full BlindPay API surface. Every command supports ",[50,166,167],{},"--help"," for usage details and ",[50,170,171],{},"--json"," for machine-readable output.",[174,175,177],"h3",{"id":176},"customers-and-bank-accounts","Customers and Bank Accounts",[11,179,180],{},"Create and manage customers, attach bank accounts across multiple rails (ACH, Wire, PIX, SPEI, SWIFT), and configure blockchain wallets.",[43,182,184],{"className":45,"code":183,"language":47,"meta":48,"style":48},"blindpay customers create\nblindpay bank_accounts create --customer-id re_...\nblindpay blockchain_wallets create --customer-id re_...\n",[50,185,186,196,213],{"__ignoreMap":48},[53,187,188,190,193],{"class":55,"line":56},[53,189,125],{"class":59},[53,191,192],{"class":63}," customers",[53,194,195],{"class":63}," create\n",[53,197,199,201,204,207,210],{"class":55,"line":198},2,[53,200,125],{"class":59},[53,202,203],{"class":63}," bank_accounts",[53,205,206],{"class":63}," create",[53,208,209],{"class":67}," --customer-id",[53,211,212],{"class":63}," re_...\n",[53,214,216,218,221,223,225],{"class":55,"line":215},3,[53,217,125],{"class":59},[53,219,220],{"class":63}," blockchain_wallets",[53,222,206],{"class":63},[53,224,209],{"class":67},[53,226,212],{"class":63},[174,228,230],{"id":229},"payouts-and-payins","Payouts and Payins",[11,232,233],{},"Generate quotes with real-time FX rates, then execute payouts and payins in a single flow.",[43,235,237],{"className":45,"code":236,"language":47,"meta":48,"style":48},"blindpay quotes create\nblindpay payouts create --quote-id qu_...\nblindpay payin_quotes create\nblindpay payins create --quote-id qu_...\n",[50,238,239,248,263,272],{"__ignoreMap":48},[53,240,241,243,246],{"class":55,"line":56},[53,242,125],{"class":59},[53,244,245],{"class":63}," quotes",[53,247,195],{"class":63},[53,249,250,252,255,257,260],{"class":55,"line":198},[53,251,125],{"class":59},[53,253,254],{"class":63}," payouts",[53,256,206],{"class":63},[53,258,259],{"class":67}," --quote-id",[53,261,262],{"class":63}," qu_...\n",[53,264,265,267,270],{"class":55,"line":215},[53,266,125],{"class":59},[53,268,269],{"class":63}," payin_quotes",[53,271,195],{"class":63},[53,273,275,277,280,282,284],{"class":55,"line":274},4,[53,276,125],{"class":59},[53,278,279],{"class":63}," payins",[53,281,206],{"class":63},[53,283,259],{"class":67},[53,285,262],{"class":63},[174,287,289],{"id":288},"virtual-accounts-and-offramp-wallets","Virtual Accounts and Offramp Wallets",[11,291,292],{},"Create virtual accounts for receiving payments and list offramp wallets for on-chain settlement.",[43,294,296],{"className":45,"code":295,"language":47,"meta":48,"style":48},"blindpay virtual_accounts create --customer-id re_...\nblindpay offramp_wallets list --customer-id re_... --bank-account-id ba_...\n",[50,297,298,311],{"__ignoreMap":48},[53,299,300,302,305,307,309],{"class":55,"line":56},[53,301,125],{"class":59},[53,303,304],{"class":63}," virtual_accounts",[53,306,206],{"class":63},[53,308,209],{"class":67},[53,310,212],{"class":63},[53,312,313,315,318,321,323,326,329],{"class":55,"line":198},[53,314,125],{"class":59},[53,316,317],{"class":63}," offramp_wallets",[53,319,320],{"class":63}," list",[53,322,209],{"class":67},[53,324,325],{"class":63}," re_...",[53,327,328],{"class":67}," --bank-account-id",[53,330,331],{"class":63}," ba_...\n",[174,333,335],{"id":334},"webhooks-api-keys-and-partner-fees","Webhooks, API Keys, and Partner Fees",[11,337,338],{},"Configure webhook endpoints, manage API keys, and set up partner fees directly from the CLI.",[43,340,342],{"className":45,"code":341,"language":47,"meta":48,"style":48},"blindpay webhook_endpoints create\nblindpay api_keys list\nblindpay partner_fees create\n",[50,343,344,353,363],{"__ignoreMap":48},[53,345,346,348,351],{"class":55,"line":56},[53,347,125],{"class":59},[53,349,350],{"class":63}," webhook_endpoints",[53,352,195],{"class":63},[53,354,355,357,360],{"class":55,"line":198},[53,356,125],{"class":59},[53,358,359],{"class":63}," api_keys",[53,361,362],{"class":63}," list\n",[53,364,365,367,370],{"class":55,"line":215},[53,366,125],{"class":59},[53,368,369],{"class":63}," partner_fees",[53,371,195],{"class":63},[174,373,375],{"id":374},"reference-data","Reference Data",[11,377,378],{},"Check supported payment rails and the bank detail fields required for each one.",[43,380,382],{"className":45,"code":381,"language":47,"meta":48,"style":48},"blindpay available rails\nblindpay available bank_details --rail pix\n",[50,383,384,394],{"__ignoreMap":48},[53,385,386,388,391],{"class":55,"line":56},[53,387,125],{"class":59},[53,389,390],{"class":63}," available",[53,392,393],{"class":63}," rails\n",[53,395,396,398,400,403,406],{"class":55,"line":198},[53,397,125],{"class":59},[53,399,390],{"class":63},[53,401,402],{"class":63}," bank_details",[53,404,405],{"class":67}," --rail",[53,407,408],{"class":63}," pix\n",[35,410,412],{"id":411},"built-for-humans-and-ai-agents","Built for Humans and AI Agents",[11,414,415],{},"The CLI is designed from the ground up to be used by both humans and AI agents. If you use Claude, Codex, or any LLM-based coding assistant, they can run BlindPay CLI commands directly as part of their workflow.",[11,417,418],{},"What makes it agent-friendly:",[420,421,422,432,440,458],"ul",{},[423,424,425,431],"li",{},[426,427,428,430],"strong",{},[50,429,171],{}," flag"," on every command returns structured JSON output that agents can parse without guessing",[423,433,434,439],{},[426,435,436],{},[50,437,438],{},"blindpay schema"," returns full field definitions, types, defaults, and enums as JSON, so an agent can discover the API surface and build valid commands without external documentation",[423,441,442,445,446,449,450,453,454,457],{},[426,443,444],{},"Predictable exit codes",": ",[50,447,448],{},"0"," for success, ",[50,451,452],{},"1"," for user error, ",[50,455,456],{},"2"," for API error",[423,459,460,463,464,466],{},[426,461,462],{},"Structured errors"," when ",[50,465,171],{}," is active:",[43,468,472],{"className":469,"code":470,"language":471,"meta":48,"style":48},"language-json shiki shiki-themes github-light","{ \"error\": true, \"message\": \"...\", \"exitCode\": 2, \"statusCode\": 401 }\n","json",[50,473,474],{"__ignoreMap":48},[53,475,476,479,482,484,487,490,493,495,498,500,503,505,507,509,512,514,517],{"class":55,"line":56},[53,477,478],{"class":97},"{ ",[53,480,481],{"class":67},"\"error\"",[53,483,445],{"class":97},[53,485,486],{"class":67},"true",[53,488,489],{"class":97},", ",[53,491,492],{"class":67},"\"message\"",[53,494,445],{"class":97},[53,496,497],{"class":63},"\"...\"",[53,499,489],{"class":97},[53,501,502],{"class":67},"\"exitCode\"",[53,504,445],{"class":97},[53,506,456],{"class":67},[53,508,489],{"class":97},[53,510,511],{"class":67},"\"statusCode\"",[53,513,445],{"class":97},[53,515,516],{"class":67},"401",[53,518,519],{"class":97}," }\n",[11,521,522,523,525,526,528,529,531],{},"An AI agent can install the CLI, run ",[50,524,438],{}," to understand what resources and fields are available, then construct and execute commands autonomously. Combined with the ",[21,527,24],{"href":23}," for direct tool-use and ",[21,530,29],{"href":28}," for domain knowledge, BlindPay gives agents a complete integration surface that no other stablecoin platform provides.",[35,533,535],{"id":534},"updating","Updating",[43,537,539],{"className":45,"code":538,"language":47,"meta":48,"style":48},"npm install -g @blindpay\u002Fcli@latest\n",[50,540,541],{"__ignoreMap":48},[53,542,543,545,547,549],{"class":55,"line":56},[53,544,60],{"class":59},[53,546,64],{"class":63},[53,548,68],{"class":67},[53,550,551],{"class":63}," @blindpay\u002Fcli@latest\n",[35,553,555],{"id":554},"get-started","Get Started",[11,557,558],{},"Install the CLI and connect it to your BlindPay instance in under a minute:",[43,560,562],{"className":45,"code":561,"language":47,"meta":48,"style":48},"npm install -g @blindpay\u002Fcli\nblindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>\nblindpay customers list --json\n",[50,563,564,574,602],{"__ignoreMap":48},[53,565,566,568,570,572],{"class":55,"line":56},[53,567,60],{"class":59},[53,569,64],{"class":63},[53,571,68],{"class":67},[53,573,71],{"class":63},[53,575,576,578,580,582,584,586,588,590,592,594,596,598,600],{"class":55,"line":198},[53,577,125],{"class":59},[53,579,128],{"class":63},[53,581,131],{"class":63},[53,583,134],{"class":67},[53,585,91],{"class":90},[53,587,139],{"class":63},[53,589,142],{"class":97},[53,591,145],{"class":90},[53,593,148],{"class":67},[53,595,91],{"class":90},[53,597,153],{"class":63},[53,599,98],{"class":97},[53,601,101],{"class":90},[53,603,604,606,608,610],{"class":55,"line":215},[53,605,125],{"class":59},[53,607,192],{"class":63},[53,609,320],{"class":63},[53,611,612],{"class":67}," --json\n",[11,614,615,616,621],{},"Source code and full command reference are available on ",[21,617,620],{"href":618,"rel":619},"https:\u002F\u002Fgithub.com\u002Fblindpaylabs\u002Fblindpay-cli",[113],"GitHub",".",[623,624,625],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}",{"title":48,"searchDepth":198,"depth":198,"links":627},[628,629,630,637,638,639],{"id":37,"depth":198,"text":38},{"id":104,"depth":198,"text":105},{"id":160,"depth":198,"text":161,"children":631},[632,633,634,635,636],{"id":176,"depth":215,"text":177},{"id":229,"depth":215,"text":230},{"id":288,"depth":215,"text":289},{"id":334,"depth":215,"text":335},{"id":374,"depth":215,"text":375},{"id":411,"depth":198,"text":412},{"id":534,"depth":198,"text":535},{"id":554,"depth":198,"text":555},[641,642,643],"product","engineering","guide",null,"2026-03-06","The official CLI for BlindPay, the most AI-native stablecoin infrastructure. Manage payouts, payins, customers, and bank accounts from your terminal. Built for developers and AI agents alike with structured JSON output, schema introspection, and predictable exit codes.","md",[649,652,655,658],{"q":650,"a":651},"How do I install the BlindPay CLI?","Run `npm install -g @blindpay\u002Fcli`, or run it without installing using `npx @blindpay\u002Fcli \u003Ccommand>`.",{"q":653,"a":654},"What can the BlindPay CLI do?","It covers the full BlindPay API surface: managing customers, bank accounts, payouts, payins, quotes, virtual accounts, offramp wallets, webhooks, API keys, and partner fees from your terminal.",{"q":656,"a":657},"Can AI agents use the BlindPay CLI?","Yes. Every command supports a `--json` flag for structured output, `blindpay schema` returns full field definitions, and exit codes are predictable, so agents can discover the API and run commands autonomously.",{"q":659,"a":660},"How do I configure the BlindPay CLI?","Run `blindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>` using the credentials from your BlindPay dashboard.",true,false,{},"\u002Fblog\u002Fcli","---\ntitle: \"BlindPay CLI\"\ndescription: \"The official CLI for BlindPay, the most AI-native stablecoin infrastructure. Manage payouts, payins, customers, and bank accounts from your terminal. Built for developers and AI agents alike with structured JSON output, schema introspection, and predictable exit codes.\"\ndate: \"2026-03-06\"\ncategories: [\"product\", \"engineering\", \"guide\"]\nauthor: \"Alves\"\nthumbnail: \"\u002Fimages\u002Fblog\u002Fcli.png\"\nisBlog: true\nfaq:\n  - q: \"How do I install the BlindPay CLI?\"\n    a: \"Run `npm install -g @blindpay\u002Fcli`, or run it without installing using `npx @blindpay\u002Fcli \u003Ccommand>`.\"\n  - q: \"What can the BlindPay CLI do?\"\n    a: \"It covers the full BlindPay API surface: managing customers, bank accounts, payouts, payins, quotes, virtual accounts, offramp wallets, webhooks, API keys, and partner fees from your terminal.\"\n  - q: \"Can AI agents use the BlindPay CLI?\"\n    a: \"Yes. Every command supports a `--json` flag for structured output, `blindpay schema` returns full field definitions, and exit codes are predictable, so agents can discover the API and run commands autonomously.\"\n  - q: \"How do I configure the BlindPay CLI?\"\n    a: \"Run `blindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>` using the credentials from your BlindPay dashboard.\"\n---\n\n![BlindPay CLI](\u002Fimages\u002Fblog\u002Fcli.png)\n\nBlindPay is the most AI-native stablecoin infrastructure available today. Every layer of the platform, the API, the [MCP Server](\u002Fblog\u002Fmcp), the [Agent Skills](\u002Fblog\u002Fagent-skills), and now the CLI, is built so that AI agents and developers can operate global payment infrastructure with equal ease. No other stablecoin platform offers this depth of integration.\n\nThe BlindPay CLI brings the full power of that infrastructure to your terminal. You or any AI agent can manage customers, execute payouts, create virtual accounts and configure webhooks without leaving your shell. It works for developers typing commands by hand, and it works just as well for AI agents like Claude, Codex, and automation scripts that need structured, predictable output.\n\n## Installation\n\nInstall globally with npm:\n\n```bash\nnpm install -g @blindpay\u002Fcli\n```\n\nOr run without installing:\n\n```bash\nnpx @blindpay\u002Fcli \u003Ccommand>\n```\n\n## Setup\n\nGrab your API key and instance ID from the [BlindPay dashboard](https:\u002F\u002Fapp.blindpay.com) and configure:\n\n```bash\nblindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>\n```\n\n## What You Can Do\n\nThe CLI covers the full BlindPay API surface. Every command supports `--help` for usage details and `--json` for machine-readable output.\n\n### Customers and Bank Accounts\n\nCreate and manage customers, attach bank accounts across multiple rails (ACH, Wire, PIX, SPEI, SWIFT), and configure blockchain wallets.\n\n```bash\nblindpay customers create\nblindpay bank_accounts create --customer-id re_...\nblindpay blockchain_wallets create --customer-id re_...\n```\n\n### Payouts and Payins\n\nGenerate quotes with real-time FX rates, then execute payouts and payins in a single flow.\n\n```bash\nblindpay quotes create\nblindpay payouts create --quote-id qu_...\nblindpay payin_quotes create\nblindpay payins create --quote-id qu_...\n```\n\n### Virtual Accounts and Offramp Wallets\n\nCreate virtual accounts for receiving payments and list offramp wallets for on-chain settlement.\n\n```bash\nblindpay virtual_accounts create --customer-id re_...\nblindpay offramp_wallets list --customer-id re_... --bank-account-id ba_...\n```\n\n### Webhooks, API Keys, and Partner Fees\n\nConfigure webhook endpoints, manage API keys, and set up partner fees directly from the CLI.\n\n```bash\nblindpay webhook_endpoints create\nblindpay api_keys list\nblindpay partner_fees create\n```\n\n### Reference Data\n\nCheck supported payment rails and the bank detail fields required for each one.\n\n```bash\nblindpay available rails\nblindpay available bank_details --rail pix\n```\n\n## Built for Humans and AI Agents\n\nThe CLI is designed from the ground up to be used by both humans and AI agents. If you use Claude, Codex, or any LLM-based coding assistant, they can run BlindPay CLI commands directly as part of their workflow.\n\nWhat makes it agent-friendly:\n\n- **`--json` flag** on every command returns structured JSON output that agents can parse without guessing\n- **`blindpay schema`** returns full field definitions, types, defaults, and enums as JSON, so an agent can discover the API surface and build valid commands without external documentation\n- **Predictable exit codes**: `0` for success, `1` for user error, `2` for API error\n- **Structured errors** when `--json` is active:\n\n```json\n{ \"error\": true, \"message\": \"...\", \"exitCode\": 2, \"statusCode\": 401 }\n```\n\nAn AI agent can install the CLI, run `blindpay schema` to understand what resources and fields are available, then construct and execute commands autonomously. Combined with the [MCP Server](\u002Fblog\u002Fmcp) for direct tool-use and [Agent Skills](\u002Fblog\u002Fagent-skills) for domain knowledge, BlindPay gives agents a complete integration surface that no other stablecoin platform provides.\n\n## Updating\n\n```bash\nnpm install -g @blindpay\u002Fcli@latest\n```\n\n## Get Started\n\nInstall the CLI and connect it to your BlindPay instance in under a minute:\n\n```bash\nnpm install -g @blindpay\u002Fcli\nblindpay config set --api-key \u003Cyour-api-key> --instance-id \u003Cyour-instance-id>\nblindpay customers list --json\n```\n\nSource code and full command reference are available on [GitHub](https:\u002F\u002Fgithub.com\u002Fblindpaylabs\u002Fblindpay-cli).\n",{"title":5,"description":646},"blog\u002Fcli","1elhc-Bsy-8myP_86irafeRx4EcCoJ0aSUrgQKP4vVI",1785826892872]