PiggyVest Business MCP by usefulapi is an MCP server published by io.usefulapi, hosted at piggyvest-business-api.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 17 tools, including piggyvest_list_wallets, piggyvest_get_wallet, piggyvest_get_wallet_accounts, piggyvest_get_wallet_interest, piggyvest_list_banks.
Read wallets and transactions, check payees, and send or schedule transfers in PiggyVest Business.
4,437 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the business's API wallets with the total balance (kobo) and a page of wallets. Good first call to find wallet ids. GET /api/v1/wallet/api/wallet-type.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Page size (default 20, maximum 100). |
| cursor | string | Pagination cursor from the previous response's endCursor. |
| orderBy | string | Sort order (default DESC). |
| customer_id | string | Only wallets of this customer id. |
{
"name": "piggyvest_list_wallets",
"title": "List API wallets",
"description": "List the business's API wallets with the total balance (kobo) and a page of wallets. Good first call to find wallet ids. GET /api/v1/wallet/api/wallet-type.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size (default 20, maximum 100)."
},
"cursor": {
"type": "string",
"description": "Pagination cursor from the previous response's endCursor."
},
"orderBy": {
"enum": [
"ASC",
"DESC"
],
"type": "string",
"description": "Sort order (default DESC)."
},
"customer_id": {
"type": "string",
"description": "Only wallets of this customer id."
}
}
},
"annotations": {
"title": "List API wallets",
"readOnlyHint": true
}
}Get one wallet: name, status, balance (kobo), interest rates and virtual account id. GET /api/v1/wallet/{wallet_id}.
| Parameter | Type | Description |
|---|---|---|
| wallet_id * | string | The wallet id (from piggyvest_list_wallets). |
{
"name": "piggyvest_get_wallet",
"title": "Get a wallet",
"description": "Get one wallet: name, status, balance (kobo), interest rates and virtual account id. GET /api/v1/wallet/{wallet_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet_id"
],
"properties": {
"wallet_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The wallet id (from piggyvest_list_wallets)."
}
}
},
"annotations": {
"title": "Get a wallet",
"readOnlyHint": true
}
}List the bank account numbers that fund a wallet (virtual accounts with bank names). GET /api/v1/wallet/{wallet_id}/accounts.
| Parameter | Type | Description |
|---|---|---|
| wallet_id * | string | The wallet id. |
{
"name": "piggyvest_get_wallet_accounts",
"title": "Get wallet funding accounts",
"description": "List the bank account numbers that fund a wallet (virtual accounts with bank names). GET /api/v1/wallet/{wallet_id}/accounts.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet_id"
],
"properties": {
"wallet_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The wallet id."
}
}
},
"annotations": {
"title": "Get wallet funding accounts",
"readOnlyHint": true
}
}List stored interest accruals for a wallet over a date range (defaults to the current calendar month). GET /api/v1/wallet/interests/accrued/{wallet_id}.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Page size (default 31, maximum 100). |
| cursor | string | Pagination cursor from the previous response's endCursor. |
| search | string | Case-insensitive filter on the differential wallet name. |
| end_date | string | End of the accrual filter, YYYY-MM-DD. |
| wallet_id * | string | The wallet id. |
| start_date | string | Start of the accrual filter, YYYY-MM-DD. |
| interest_type | string | Accrual type (default original). |
{
"name": "piggyvest_get_wallet_interest",
"title": "Get wallet interest accruals",
"description": "List stored interest accruals for a wallet over a date range (defaults to the current calendar month). GET /api/v1/wallet/interests/accrued/{wallet_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet_id"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size (default 31, maximum 100)."
},
"cursor": {
"type": "string",
"description": "Pagination cursor from the previous response's endCursor."
},
"search": {
"type": "string",
"description": "Case-insensitive filter on the differential wallet name."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End of the accrual filter, YYYY-MM-DD."
},
"wallet_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The wallet id."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start of the accrual filter, YYYY-MM-DD."
},
"interest_type": {
"enum": [
"original",
"differential"
],
"type": "string",
"description": "Accrual type (default original)."
}
}
},
"annotations": {
"title": "Get wallet interest accruals",
"readOnlyHint": true
}
}List the banks supported for transfers, with each bank's code. Use the code as bankCode in piggyvest_transfer_to_bank. GET /api/v1/transfer/bank-list.
No parameters.
{
"name": "piggyvest_list_banks",
"title": "List supported banks",
"description": "List the banks supported for transfers, with each bank's code. Use the code as bankCode in piggyvest_transfer_to_bank. GET /api/v1/transfer/bank-list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List supported banks",
"readOnlyHint": true
}
}Check the account holder name for a bank account before a transfer. Use it to confirm the payee. GET /api/v1/transfer/name-enquiry.
| Parameter | Type | Description |
|---|---|---|
| bank_code * | string | Bank code from piggyvest_list_banks. |
| account_number * | string |
{
"name": "piggyvest_name_enquiry",
"title": "Resolve an account name",
"description": "Check the account holder name for a bank account before a transfer. Use it to confirm the payee. GET /api/v1/transfer/name-enquiry.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"bank_code",
"account_number"
],
"properties": {
"bank_code": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "Bank code from piggyvest_list_banks."
},
"account_number": {
"type": "string",
"pattern": "^\\d{10}$"
}
}
},
"annotations": {
"title": "Resolve an account name",
"readOnlyHint": true
}
}Check the status (success, pending or failed) of a transfer by the reference you sent. Use it after a transfer to confirm the final result. GET /api/v1/transaction/verify.
| Parameter | Type | Description |
|---|---|---|
| reference * | string | Your transaction reference (the reference you sent with the transfer). |
| wallet_id | string | Narrow the lookup to one wallet. |
{
"name": "piggyvest_get_transaction_status",
"title": "Check a transaction by reference",
"description": "Check the status (success, pending or failed) of a transfer by the reference you sent. Use it after a transfer to confirm the final result. GET /api/v1/transaction/verify.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"reference"
],
"properties": {
"reference": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Your transaction reference (the reference you sent with the transfer)."
},
"wallet_id": {
"type": "string",
"description": "Narrow the lookup to one wallet."
}
}
},
"annotations": {
"title": "Check a transaction by reference",
"readOnlyHint": true
}
}Get one transaction by its PiggyVest id: amount, fee, status, wallets and balances after the move. GET /api/v1/transaction/{transaction_id}.
| Parameter | Type | Description |
|---|---|---|
| wallet_id | string | If set, the transaction must belong to this wallet. |
| transaction_id * | string | The PiggyVest transaction id (from piggyvest_list_transactions). |
{
"name": "piggyvest_get_transaction",
"title": "Get a transaction",
"description": "Get one transaction by its PiggyVest id: amount, fee, status, wallets and balances after the move. GET /api/v1/transaction/{transaction_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"transaction_id"
],
"properties": {
"wallet_id": {
"type": "string",
"description": "If set, the transaction must belong to this wallet."
},
"transaction_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The PiggyVest transaction id (from piggyvest_list_transactions)."
}
}
},
"annotations": {
"title": "Get a transaction",
"readOnlyHint": true
}
}List the business's transactions, newest first, with filters for wallet, status, direction, category and dates. GET /api/v1/transaction.
| Parameter | Type | Description |
|---|---|---|
| type | string | one of ["credit","debit"] |
| limit | integer | Page size (default 20, maximum 100). |
| cursor | string | Pagination cursor from the previous response's endCursor. |
| status | string | one of ["pending","successful","failed","partial"] |
| category | string | Category, for example "p2p", "bank-outflow" or "pocket-inflow". |
| end_date | string | Filter end date. |
| wallet_id | string | Only transactions of this wallet. |
| start_date | string | Filter start date. |
| collapse_batch | string | Set to "1" to merge batch rows for the list. |
| get_batch_info | string | Set to "1" with batch_transaction_id to add the batch summary. |
| batch_transaction_id | string |
List the customers created through this API, with optional filters by your own id or the PiggyVest customer id. GET /api/v1/customers.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Page size (default 20, maximum 100). |
| cursor | string | Pagination cursor from the previous response's endCursor. |
| customer_id | string | Filter by the PiggyVest customer id. |
| third_party_identifier | string | Filter by your own internal customer id. |
{
"name": "piggyvest_list_customers",
"title": "List customers",
"description": "List the customers created through this API, with optional filters by your own id or the PiggyVest customer id. GET /api/v1/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size (default 20, maximum 100)."
},
"cursor": {
"type": "string",
"description": "Pagination cursor from the previous response's endCursor."
},
"customer_id": {
"type": "string",
"description": "Filter by the PiggyVest customer id."
},
"third_party_identifier": {
"type": "string",
"description": "Filter by your own internal customer id."
}
}
},
"annotations": {
"title": "List customers",
"readOnlyHint": true
}
}Create a new API wallet for a customer. Creation is asynchronous: the reply is only a wallet id, and the wallet is ready after a few minutes. POST /api/v1/wallet/sub-account.
| Parameter | Type | Description |
|---|---|---|
| customer_id | string | The customer that owns the wallet (required for API wallets). |
| subaccount_name * | string | Unique wallet name. |
| interest_payout_wallet | string | Wallet id that receives interest payouts. |
| enable_interest_accrual | boolean | True (default) to accrue interest. |
| reserve_virtual_account * | boolean | True to create a funding virtual account for the wallet. |
{
"name": "piggyvest_create_wallet",
"title": "Create an API wallet",
"description": "Create a new API wallet for a customer. Creation is asynchronous: the reply is only a wallet id, and the wallet is ready after a few minutes. POST /api/v1/wallet/sub-account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"subaccount_name",
"reserve_virtual_account"
],
"properties": {
"customer_id": {
"type": "string",
"description": "The customer that owns the wallet (required for API wallets)."
},
"subaccount_name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Unique wallet name."
},
"interest_payout_wallet": {
"type": "string",
"description": "Wallet id that receives interest payouts."
},
"enable_interest_accrual": {
"type": "boolean",
"description": "True (default) to accrue interest."
},
"reserve_virtual_account": {
"type": "boolean",
"description": "True to create a funding virtual account for the wallet."
}
}
},
"annotations": {
"title": "Create an API wallet",
"destructiveHint": true
}
}Create a business customer and its default wallet. Sends personal identity data (BVN) to PiggyVest for verification: send only what the customer agreed to share. POST /api/v1/customers.
| Parameter | Type | Description |
|---|---|---|
| bvn * | string | The customer's Bank Verification Number, exactly 11 digits. |
| name * | string | Customer name. |
| email * | string | Customer email. |
| phone * | string | Customer phone, international format. |
| returnIfExist | boolean | True: return the existing customer instead of an error when one matches. |
| interest_payout_wallet | string | Wallet id that receives interest payouts. |
| third_party_identifier | string | Your own stable id for this customer. |
| enable_interest_accrual | boolean | False disables interest on the new customer. |
Reserve a bank account number for a wallet. A regular account stays active; a disposable account expires after the expiry minutes. POST /api/v1/wallet/reserve-account.
| Parameter | Type | Description |
|---|---|---|
| code | string | Bank code for the account, if the business needs one. |
| name * | string | Account name shown to the payer. |
| type * | string | regular or disposable. |
| amount | integer | Disposable only: expected amount in kobo. |
| expiry | integer | Disposable only: expiry in minutes. |
| reference | string | Disposable only: your reference. |
| wallet_id * | string | The wallet to fund. |
| error_margin | integer | Disposable only: allowed difference from amount, in kobo. |
| payment_policy | string | Disposable only: how to handle payments that differ from amount. |
MOVES MONEY: transfer kobo from one of this business's wallets to another. Needs confirm=true. The reply is 202 (processing): check the result with piggyvest_get_transaction_status. Do not retry with the same reference; check it first. POST /api/v1/transfer/wallet.
| Parameter | Type | Description |
|---|---|---|
| amount * | integer | Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000. |
| source * | string | Source wallet id. This wallet is debited. |
| confirm * | boolean | Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it. |
| currency * | string | Currency. Must be "NGN". |
| narration | string | Description of the transfer. |
| reference * | string | Your unique reference for this transfer. Keep it to check the status. |
| destination * | string | Destination wallet id. This wallet is credited. |
MOVES MONEY: send kobo from a wallet to an external bank account. Call piggyvest_name_enquiry first. Needs confirm=true. The reply is 202 (processing): check the result with piggyvest_get_transaction_status. Do not retry with the same reference; check it first. POST /api/v1/transfer/bank.
| Parameter | Type | Description |
|---|---|---|
| amount * | integer | Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000. |
| source * | string | Source wallet id. This wallet is debited. |
| confirm * | boolean | Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it. |
| bankCode * | string | Destination bank code from piggyvest_list_banks. |
| currency * | string | Currency. Must be "NGN". |
| narration | string | Description of the transfer. |
| reference * | string | Your unique reference for this transfer. Keep it to check the status. |
| accountNumber * | string | Destination bank account number. |
SCHEDULES A FUTURE PAYMENT: a one-time or recurring transfer from a wallet to a wallet or bank account. Needs confirm=true. Cancel it later with piggyvest_set_schedule_payment_active. POST /api/v1/transfer/schedule-payment.
| Parameter | Type | Description |
|---|---|---|
| amount * | integer | Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000. |
| confirm * | boolean | Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it. |
| end_date | string | Last run for a recurring payment, YYYY-MM-DD HH:mm:ss. |
| frequency * | string | How often the payment runs. Required by the API. |
| start_date | string | First run, YYYY-MM-DD HH:mm:ss, in the future. |
| description | string | Narration. |
| payout_type * | string | one of ["recurring","one-time"] |
| destination_id * | string | Destination wallet id, or the bank account number when destination_type is bank. |
| destination_code |
Set a scheduled payment active or inactive. is_active=false cancels it (no more runs). is_active=true reactivates it and needs confirm=true. A payment whose end date has passed cannot be reactivated. PATCH /api/v1/transfer/schedule-payment/{schedule_payment_id}.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Required only to reactivate (is_active=true): reactivation schedules future transfers. Not needed to cancel. |
| is_active * | boolean | false to cancel, true to reactivate. |
| next_charge_attempt | string | Next attempt, YYYY-MM-DD HH:mm:ss. |
| schedule_payment_id * | string | The schedule payment id returned by piggyvest_schedule_payment. |
{
"name": "piggyvest_set_schedule_payment_active",
"title": "Cancel or reactivate a scheduled payment",
"description": "Set a scheduled payment active or inactive. is_active=false cancels it (no more runs). is_active=true reactivates it and needs confirm=true. A payment whose end date has passed cannot be reactivated. PATCH /api/v1/transfer/schedule-payment/{schedule_payment_id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"schedule_payment_id",
"is_active"
],
"properties": {
"confirm": {
"type": "boolean",
"const": true,
"description": "Required only to reactivate (is_active=true): reactivation schedules future transfers. Not needed to cancel."
},
"is_active": {
"type": "boolean",
"description": "false to cancel, true to reactivate."
},
"next_charge_attempt": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "Next attempt, YYYY-MM-DD HH:mm:ss."
},
"schedule_payment_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The schedule payment id returned by piggyvest_schedule_payment."
}
}
},
"annotations": {
"title": "Cancel or reactivate a scheduled payment",
"idempotentHint": true,
"destructiveHint": true
}
}Tools for PiggyVest Business, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "List our PiggyVest API wallets and their balances."; "Show the transactions from last week that failed."; "Check the name on account 0123456789 at bank code 058 before we pay it.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes PiggyVest Business data. Free plan: 50 tool calls per month. Run piggyvest_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run piggyvest_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run piggyvest_upgrade without a plan: it returns both plans, each with a payment link for the user to open. piggyvest_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| A batch transaction id to summarise. |
{
"name": "piggyvest_list_transactions",
"title": "List transactions",
"description": "List the business's transactions, newest first, with filters for wallet, status, direction, category and dates. GET /api/v1/transaction.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"type": {
"enum": [
"credit",
"debit"
],
"type": "string"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Page size (default 20, maximum 100)."
},
"cursor": {
"type": "string",
"description": "Pagination cursor from the previous response's endCursor."
},
"status": {
"enum": [
"pending",
"successful",
"failed",
"partial"
],
"type": "string"
},
"category": {
"type": "string",
"description": "Category, for example \"p2p\", \"bank-outflow\" or \"pocket-inflow\"."
},
"end_date": {
"type": "string",
"description": "Filter end date."
},
"wallet_id": {
"type": "string",
"description": "Only transactions of this wallet."
},
"start_date": {
"type": "string",
"description": "Filter start date."
},
"collapse_batch": {
"enum": [
"1"
],
"type": "string",
"description": "Set to \"1\" to merge batch rows for the list."
},
"get_batch_info": {
"enum": [
"1"
],
"type": "string",
"description": "Set to \"1\" with batch_transaction_id to add the batch summary."
},
"batch_transaction_id": {
"type": "string",
"description": "A batch transaction id to summarise."
}
}
},
"annotations": {
"title": "List transactions",
"readOnlyHint": true
}
}{
"name": "piggyvest_create_customer",
"title": "Create a customer",
"description": "Create a business customer and its default wallet. Sends personal identity data (BVN) to PiggyVest for verification: send only what the customer agreed to share. POST /api/v1/customers.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"bvn",
"email",
"name",
"phone"
],
"properties": {
"bvn": {
"type": "string",
"pattern": "^\\d{11}$",
"description": "The customer's Bank Verification Number, exactly 11 digits."
},
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Customer name."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 254,
"description": "Customer email."
},
"phone": {
"type": "string",
"maxLength": 20,
"minLength": 5,
"description": "Customer phone, international format."
},
"returnIfExist": {
"type": "boolean",
"description": "True: return the existing customer instead of an error when one matches."
},
"interest_payout_wallet": {
"type": "string",
"description": "Wallet id that receives interest payouts."
},
"third_party_identifier": {
"type": "string",
"maxLength": 200,
"description": "Your own stable id for this customer."
},
"enable_interest_accrual": {
"type": "boolean",
"description": "False disables interest on the new customer."
}
}
},
"annotations": {
"title": "Create a customer",
"destructiveHint": true
}
}{
"name": "piggyvest_reserve_account",
"title": "Reserve a virtual account",
"description": "Reserve a bank account number for a wallet. A regular account stays active; a disposable account expires after the expiry minutes. POST /api/v1/wallet/reserve-account.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"wallet_id",
"type",
"name"
],
"properties": {
"code": {
"type": "string",
"maxLength": 10,
"description": "Bank code for the account, if the business needs one."
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Account name shown to the payer."
},
"type": {
"enum": [
"regular",
"disposable"
],
"type": "string",
"description": "regular or disposable."
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Disposable only: expected amount in kobo.",
"exclusiveMinimum": 0
},
"expiry": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Disposable only: expiry in minutes.",
"exclusiveMinimum": 0
},
"reference": {
"type": "string",
"maxLength": 200,
"description": "Disposable only: your reference."
},
"wallet_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "The wallet to fund."
},
"error_margin": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Disposable only: allowed difference from amount, in kobo."
},
"payment_policy": {
"enum": [
"ALLOW_ANY",
"EXACT_ONLY",
"REJECT_UNDER_PAYMENT"
],
"type": "string",
"description": "Disposable only: how to handle payments that differ from amount."
}
}
},
"annotations": {
"title": "Reserve a virtual account",
"destructiveHint": true
}
}{
"name": "piggyvest_transfer_between_wallets",
"title": "Transfer between wallets",
"description": "MOVES MONEY: transfer kobo from one of this business's wallets to another. Needs confirm=true. The reply is 202 (processing): check the result with piggyvest_get_transaction_status. Do not retry with the same reference; check it first. POST /api/v1/transfer/wallet.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"amount",
"source",
"destination",
"currency",
"reference",
"confirm"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000.",
"exclusiveMinimum": 0
},
"source": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Source wallet id. This wallet is debited."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it."
},
"currency": {
"type": "string",
"const": "NGN",
"description": "Currency. Must be \"NGN\"."
},
"narration": {
"type": "string",
"maxLength": 200,
"description": "Description of the transfer."
},
"reference": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Your unique reference for this transfer. Keep it to check the status."
},
"destination": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Destination wallet id. This wallet is credited."
}
}
},
"annotations": {
"title": "Transfer between wallets",
"destructiveHint": true
}
}{
"name": "piggyvest_transfer_to_bank",
"title": "Transfer to a bank account",
"description": "MOVES MONEY: send kobo from a wallet to an external bank account. Call piggyvest_name_enquiry first. Needs confirm=true. The reply is 202 (processing): check the result with piggyvest_get_transaction_status. Do not retry with the same reference; check it first. POST /api/v1/transfer/bank.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"amount",
"source",
"accountNumber",
"bankCode",
"currency",
"reference",
"confirm"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000.",
"exclusiveMinimum": 0
},
"source": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Source wallet id. This wallet is debited."
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it."
},
"bankCode": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "Destination bank code from piggyvest_list_banks."
},
"currency": {
"type": "string",
"const": "NGN",
"description": "Currency. Must be \"NGN\"."
},
"narration": {
"type": "string",
"maxLength": 200,
"description": "Description of the transfer."
},
"reference": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "Your unique reference for this transfer. Keep it to check the status."
},
"accountNumber": {
"type": "string",
"pattern": "^\\d{10}$",
"description": "Destination bank account number."
}
}
},
"annotations": {
"title": "Transfer to a bank account",
"destructiveHint": true
}
}| string |
| Bank code, required when destination_type is bank. |
| destination_type * | string | one of ["wallet","bank"] |
| source_wallet_id * | string | Wallet to debit. |
{
"name": "piggyvest_schedule_payment",
"title": "Schedule a payment",
"description": "SCHEDULES A FUTURE PAYMENT: a one-time or recurring transfer from a wallet to a wallet or bank account. Needs confirm=true. Cancel it later with piggyvest_set_schedule_payment_active. POST /api/v1/transfer/schedule-payment.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"amount",
"payout_type",
"frequency",
"source_wallet_id",
"destination_type",
"destination_id",
"confirm"
],
"properties": {
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Amount in kobo (NGN x 100), a positive integer. 100000 kobo = NGN 1,000.",
"exclusiveMinimum": 0
},
"confirm": {
"type": "boolean",
"const": true,
"description": "Must be true. Set it only after the user approves this exact transfer. The tool refuses to run without it."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "Last run for a recurring payment, YYYY-MM-DD HH:mm:ss."
},
"frequency": {
"enum": [
"day",
"week",
"month"
],
"type": "string",
"description": "How often the payment runs. Required by the API."
},
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
"description": "First run, YYYY-MM-DD HH:mm:ss, in the future."
},
"description": {
"type": "string",
"maxLength": 200,
"description": "Narration."
},
"payout_type": {
"enum": [
"recurring",
"one-time"
],
"type": "string"
},
"destination_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Destination wallet id, or the bank account number when destination_type is bank."
},
"destination_code": {
"type": "string",
"maxLength": 10,
"minLength": 1,
"description": "Bank code, required when destination_type is bank."
},
"destination_type": {
"enum": [
"wallet",
"bank"
],
"type": "string"
},
"source_wallet_id": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Wallet to debit."
}
}
},
"annotations": {
"title": "Schedule a payment",
"destructiveHint": true
}
}