Approve a transaction
Documentation Index
Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The ID of the entity that owns the requested resource.
"9d2b4c8f-2087-4738-ba91-7359683c49a4"
Path Parameters
Body
Approval metadata forwarded by the approval-policies connector. Internal use only.
Response
Successful Response
A unique Monite-generated ID assigned to this transaction.
The transaction amount in minor units. Positive values for in-flow, negative values for out-flow.
ISO currency code.
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HTG, HUF, IDR, ILS, INR, IQD, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SEK, SGD, SHP, SLE, SOS, SRD, SSP, SVC, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW "USD"
ID of the entity that owns this resource.
The current expense approval status of the transaction.
new, approve_in_progress, approved, rejected, canceled Whether the transaction has missing required fields per the entity's TransactionValidation config. Always false when no config is set.
Original merchant transaction amount in minor units.
ISO currency code for the merchant_amount.
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNY, COP, CRC, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HTG, HUF, IDR, ILS, INR, IQD, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SEK, SGD, SHP, SLE, SOS, SRD, SSP, SVC, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW The merchant location.
128"New York, US"
The merchant name.
128"Acme Inc."
- Option 1
- Option 2
Date and time when the transaction was initiated.
The nature of the transaction.
capture, refund, cash_withdrawal, fee, adjustment, reversal ID of the approval policy applied to this transaction, if any.
ID of the department associated with this transaction.
A human-readable description of the transaction.
255ID of the entity user who made the transaction, if applicable.
External identifier for idempotency, if provided by the source system.
128ID of the ledger account from the Accounting service.
ID of the location associated with this transaction.
Reason provided by the employee when submitting without a receipt (e.g. receipt was lost or unavailable). Set via the submit endpoint; bypasses the receipt_id required-field check.
Extensible key-value pairs for storing additional custom information for partner needs.
The current processing status of the transaction.
created, processing, succeeded, declined, refunded, failed URL of the attached receipt's file. Present when receipt_id is set and the receipt is reachable; null otherwise.
ID of the related receipt from payables service, if any.
Optional reason explaining why the transaction was rejected.
Per-field source tracking. Each field indicates how its value was set: user, generated, or automatched.