Sign in, add Midtrans in Apps, then choose the account your AI can use.
Tools
| Name | Description |
|---|---|
create_snap_transactionCreate a Midtrans Snap hosted checkout transaction and return the Snap token and redirect URL. | Create a Midtrans Snap hosted checkout transaction and return the Snap token and redirect URL. |
create_payment_linkCreate a Midtrans Payment Link invoice from a provider-shaped request body. | Create a Midtrans Payment Link invoice from a provider-shaped request body. |
charge_transactionCreate a Midtrans Core API charge for bank transfer, e-wallet, QRIS, convenience store, or tokenized card payments. | Create a Midtrans Core API charge for bank transfer, e-wallet, QRIS, convenience store, or tokenized card payments. |
capture_transactionCapture an authorized Midtrans card transaction by transaction ID. | Capture an authorized Midtrans card transaction by transaction ID. |
get_transaction_statusFetch Midtrans transaction status by order ID or transaction ID. | Fetch Midtrans transaction status by order ID or transaction ID. |
cancel_transactionCancel a pending Midtrans transaction. | Cancel a pending Midtrans transaction. |
expire_transactionExpire a pending Midtrans transaction so it can no longer be paid. | Expire a pending Midtrans transaction so it can no longer be paid. |
refund_transactionCreate a standard Midtrans refund for a settled transaction. | Create a standard Midtrans refund for a settled transaction. |
direct_refund_transactionCreate an online direct Midtrans refund for payment methods that support immediate refund processing. | Create an online direct Midtrans refund for payment methods that support immediate refund processing. |
get_binFetch Midtrans BIN metadata without collecting a full card number. | Fetch Midtrans BIN metadata without collecting a full card number. |
create_pay_accountCreate a Midtrans Pay Account tokenization request, such as a GoPay account binding flow. | Create a Midtrans Pay Account tokenization request, such as a GoPay account binding flow. |
get_pay_accountFetch a Midtrans Pay Account by account ID. | Fetch a Midtrans Pay Account by account ID. |
unbind_pay_accountUnbind a Midtrans Pay Account token such as a linked GoPay account. | Unbind a Midtrans Pay Account token such as a linked GoPay account. |
create_subscriptionCreate a Midtrans recurring subscription using a customer token or supported payment account token. | Create a Midtrans recurring subscription using a customer token or supported payment account token. |
get_subscriptionFetch a Midtrans subscription by subscription ID. | Fetch a Midtrans subscription by subscription ID. |
update_subscriptionUpdate Midtrans subscription amount, token, schedule, customer details, or metadata. | Update Midtrans subscription amount, token, schedule, customer details, or metadata. |
enable_subscriptionEnable a disabled Midtrans recurring subscription. | Enable a disabled Midtrans recurring subscription. |
disable_subscriptionTemporarily disable a Midtrans recurring subscription. | Temporarily disable a Midtrans recurring subscription. |
cancel_subscriptionCancel a Midtrans recurring subscription. | Cancel a Midtrans recurring subscription. |
list_iris_banksList banks supported by Midtrans Iris payouts. | List banks supported by Midtrans Iris payouts. |
validate_iris_bank_accountValidate a destination bank account before creating a Midtrans Iris beneficiary or payout. | Validate a destination bank account before creating a Midtrans Iris beneficiary or payout. |
create_iris_beneficiaryCreate a Midtrans Iris payout beneficiary. | Create a Midtrans Iris payout beneficiary. |
update_iris_beneficiaryUpdate a Midtrans Iris payout beneficiary. | Update a Midtrans Iris payout beneficiary. |
list_iris_beneficiariesList Midtrans Iris payout beneficiaries. | List Midtrans Iris payout beneficiaries. |
create_iris_payoutsCreate one or more Midtrans Iris payout requests. | Create one or more Midtrans Iris payout requests. |
approve_iris_payoutsApprove one or more pending Midtrans Iris payouts. | Approve one or more pending Midtrans Iris payouts. |
reject_iris_payoutsReject one or more pending Midtrans Iris payouts. | Reject one or more pending Midtrans Iris payouts. |
get_iris_payoutFetch Midtrans Iris payout details by reference number. | Fetch Midtrans Iris payout details by reference number. |
get_iris_balanceFetch Midtrans Iris payout account balance. | Fetch Midtrans Iris payout account balance. |
list_iris_transactionsList Midtrans Iris transaction history with date and paging filters. | List Midtrans Iris transaction history with date and paging filters. |
Triggers
| Name | Description |
|---|---|
webhook_receivedReceive Midtrans HTTP notifications and verify the SHA-512 signature_key. | Receive Midtrans HTTP notifications and verify the SHA-512 signature_key. |
payment_succeededReceive Midtrans settlement or captured payment notifications. | Receive Midtrans settlement or captured payment notifications. |
refund_updatedReceive Midtrans refund and partial refund notifications. | Receive Midtrans refund and partial refund notifications. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('midtrans', 'create_snap_transaction', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'midtrans',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
Is there a Midtrans MCP server through Weavz?
Yes. Add the Midtrans integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 30 Midtrans actions.
What can an AI agent do with Midtrans?
Available actions include Create Snap Transaction, Create Payment Link, Charge Transaction, Capture Transaction, Get Transaction Status, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.
How do I connect Midtrans to Claude or ChatGPT?
Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add Midtrans, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.
Can I use Midtrans through an API or SDK?
Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.
What authentication does Midtrans require?
The catalog lists custom credentials for Midtrans. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.
How do I review sensitive Midtrans actions?
Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.
What limits or costs apply to Midtrans?
Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.
What Midtrans triggers are available?
The catalog lists 3 triggers, including Webhook Received, Payment Succeeded, Refund Updated. Configure the trigger and your event handler before using incoming events to start work.
Connect Midtrans in minutes
Get 20,000 free action executions every month. No credit card required.