PayMongo Wallet

Reverse a succeeded PayMongo Wallet debit

Sends a succeeded debit back from the settlement account to the payer through the Transfers API. Meant for orphaned debits whose payment core-api never created. The transaction moves to reversed once Transfers confirms the reversal; until then it stays succeeded with reversal_transfer_id set and a repeated call polls it. Only a succeeded transaction can be reversed.

post/v1/paymongo_wallet/transactions/{id}/reverse

Request

  • Base URL
    https://ewallets-api.paymongo.com
  • URL
    https://ewallets-api.paymongo.com/v1/paymongo_wallet/transactions/{id}/reverse
  • Auth
    HTTP basic

Path parameters

idstring required

Transaction ID

Request body

callback_urlstring

Example request

{
  "callback_url": "https://api.paymongo.com/paymongo_wallet/webhook"
}

Response

Reversal submitted or already applied

has_moreboolean

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.