PayMongo Wallet
Debit a PayMongo Wallet
Creates one transaction per attach attempt and sends the debit from the payer's wallet to the PayMongo wallet named by settlement_type (the settlement account by default, or the Instant Settlement source account) through the Transfers API. Idempotent on attach_attempt_id. A decline is a 200 whose transaction_status is failed and whose failed_code names the reason; a provider outage is a 503 with the row left pending for refresh.
post/v1/paymongo_wallet/transactions
Request
- Base URLhttps://ewallets-api.paymongo.com
- URLhttps://ewallets-api.paymongo.com/v1/paymongo_wallet/transactions
- AuthHTTP basic
Request body
Example request
{
"amount": 5000,
"attach_attempt_id": "att_abc123",
"callback_url": "https://api.paymongo.com/paymongo_wallet/webhook",
"currency": "PHP",
"description": "Vivamax monthly plan",
"link_id": "pmwl_abc123",
"livemode": true,
"organization_id": "org_abc123",
"payer_account_number": "1234567890",
"settlement_type": "instant_settlement"
}Response
Transaction created, or the existing one for a repeated attach attempt
Example response
{
"data": {
"amount": 5000,
"attach_attempt_id": "att_abc123",
"created_at": "2026-09-28 00:00:00+00:00",
"currency": "PHP",
"failed_code": "insufficient_funds",
"id": "pmw_abc123",
"link_id": "pmwl_abc123",
"livemode": true,
"organization_id": "org_abc123",
"payer_account_number": "1234567890",
"reversal_transfer_id": "tr_def456",
"reversed_at": "2026-09-28 00:00:00+00:00",
"succeeded_at": "2026-09-28 00:00:00+00:00",
"transaction_status": "pending",
"transfer_id": "tr_abc123",
"updated_at": "2026-09-28 00:00:00+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.