Capture Expense Payment

Records a payment against an expense's outstanding amount. amount defaults to the full outstanding amount when omitted; a payment exceeding the outstanding amount, or against an already fully paid expense, is rejected with 400. payment_type must be a configured payment-method key (e.g. cash, card, cheque, bank-transfer).

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

The expense id.

Body Params
string
required
length ≤ 191
number | null
≥ 0.01

Defaults to the full outstanding amount.

string | null
integer | null

Id of an uploaded file to attach as the payment receipt.

string | null
Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

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