@@ -45,6 +45,8 @@ import {
4545 listAvailableRails ,
4646 getAvailableBankDetails ,
4747 createReceiverLimitIncrease ,
48+ getReceiverRfi ,
49+ submitReceiverRfi ,
4850 listWallets ,
4951 getWallet ,
5052 getWalletBalance ,
@@ -145,7 +147,9 @@ Examples:
145147 $ blindpay receivers create --email user@example.com --name "John Doe" --country US
146148 $ blindpay receivers create --type business --email biz@co.com --legal-name "Acme Inc"
147149 $ blindpay receivers update <id> --kyc-status approved
148- $ blindpay receivers delete <id>` )
150+ $ blindpay receivers delete <id>
151+ $ blindpay receivers get_rfi <receiver-id>
152+ $ blindpay receivers submit_rfi <receiver-id> --body '{"address":"..."}'` )
149153
150154receivers
151155 . command ( 'list' )
@@ -217,6 +221,19 @@ receivers
217221 . option ( '--json' , 'Output as JSON' , false )
218222 . action ( ( id , opts ) => createReceiverLimitIncrease ( id , opts ) )
219223
224+ receivers
225+ . command ( 'get_rfi <receiver-id>' )
226+ . description ( 'Get the open RFI for a receiver' )
227+ . option ( '--json' , 'Output as JSON' , false )
228+ . action ( ( receiverId , opts ) => getReceiverRfi ( receiverId , opts ) )
229+
230+ receivers
231+ . command ( 'submit_rfi <receiver-id>' )
232+ . description ( 'Submit an RFI response for a receiver' )
233+ . requiredOption ( '--body <json>' , 'RFI response as a JSON string' )
234+ . option ( '--json' , 'Output as JSON' , false )
235+ . action ( ( receiverId , opts ) => submitReceiverRfi ( receiverId , opts ) )
236+
220237// ── Bank Accounts ───────────────────────────────────────────────────────
221238const bankAccounts = program . command ( 'bank_accounts' ) . description ( 'Manage bank accounts' )
222239 . addHelpText ( 'after' , `
@@ -225,6 +242,7 @@ Examples:
225242 $ blindpay bank_accounts get <id> --receiver-id <receiver-id>
226243 $ blindpay bank_accounts create --receiver-id <id> --type ach --routing-number 021000021 --account-number 123456789
227244 $ blindpay bank_accounts create --receiver-id <id> --type pix --pix-key user@email.com
245+ $ blindpay bank_accounts create --receiver-id <id> --type sepa --sepa-iban DE89370400440532013000
228246 $ blindpay bank_accounts delete <id> --receiver-id <receiver-id>` )
229247
230248bankAccounts
@@ -245,7 +263,7 @@ bankAccounts
245263 . command ( 'create' )
246264 . description ( 'Create a new bank account' )
247265 . requiredOption ( '--receiver-id <id>' , 'Receiver ID' )
248- . option ( '--type <type>' , 'Bank account type (ach, wire, pix, etc.)' , 'ach' )
266+ . option ( '--type <type>' , 'Bank account type (ach, wire, pix, sepa, etc.)' , 'ach' )
249267 . option ( '--name <name>' , 'Account name' )
250268 . option ( '--beneficiary-name <name>' , 'Beneficiary name' )
251269 . option ( '--routing-number <number>' , 'Routing number' )
@@ -256,6 +274,14 @@ bankAccounts
256274 . option ( '--recipient-relationship <rel>' , 'Recipient relationship' )
257275 . option ( '--country <country>' , 'Country code' )
258276 . option ( '--swift-ifsc-branch-code <code>' , 'SWIFT/IFSC branch code (international_swift accounts)' )
277+ . option ( '--sepa-iban <iban>' , 'SEPA IBAN' )
278+ . option ( '--sepa-beneficiary-address-line-1 <address>' , 'SEPA beneficiary address line 1' )
279+ . option ( '--sepa-beneficiary-address-line-2 <address>' , 'SEPA beneficiary address line 2' )
280+ . option ( '--sepa-beneficiary-city <city>' , 'SEPA beneficiary city' )
281+ . option ( '--sepa-beneficiary-country <country>' , 'SEPA beneficiary country code' )
282+ . option ( '--sepa-beneficiary-legal-name <name>' , 'SEPA beneficiary legal name' )
283+ . option ( '--sepa-beneficiary-postal-code <code>' , 'SEPA beneficiary postal code' )
284+ . option ( '--sepa-beneficiary-state-province-region <region>' , 'SEPA beneficiary state/province/region' )
259285 . option ( '--json' , 'Output as JSON' , false )
260286 . action ( opts => createBankAccount ( opts ) )
261287
0 commit comments