Debit a PayMongo Wallet

Creates one transaction per attach attempt and sends the debit from the payer's wallet to the partner's ledger through the Transfers API, with the destination account number sent as "-", under the key of the ledger owner: the payee's parent organization, or the payee when it has no parent. 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. A ledger owner without a transfers-api key is a 500 with nothing recorded or sent.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Debit parameters

Request payload core-api sends at attach. One request per attach attempt; a repeated attach_attempt_id returns the existing transaction instead of moving money again.

integer
required
≥ 100
string
required
length ≤ 100
string
required
string
required
string
length ≤ 255
boolean
required
metadata
object

Metadata is carried onto the transfer as-is, next to the reserved keys this service
sets. A renewal names its subscription and invoice here so statements and support
can tell it from a one-off payment.

string
required
string
Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json