Report accounting export results
Changed onReport export success or failure for accounting records.
Request
- Base URLhttps://api.brex.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts-api.brex.com/oauth2/default/v1/authorizeToken URLhttps://accounts-api.brex.com/oauth2/default/v1/tokenScopesaccounting.record.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"results": [
{
"accounting_record_id": "accr_abc123",
"success": {
"deep_link_url": "https://erp.com/transactions/456789",
"reference_id": "erp_txn_456789"
}
}
]
}Response
Export results processed successfully
Example response
{
"updated_accounting_record_ids": [
"accr_abc123",
"accr_def456"
]
}Changes
- breaking
the
response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status - breaking
the
response's property type changed from no type toobjectfor status - warning
added the new
AMORTIZATION_PROVISIONING_FAILEDenum value to theresponse property for the response status - warning
added the new
AMORTIZATION_PROVISIONING_FAILEDenum value to theresponse property for the response status - warning
added the new
AMORTIZATION_PROVISIONING_FAILEDenum value to theresponse property for the response status - info
the endpoint scheme security
bearerwas added to the API - info
api tag
Accountingadded - info
api tag
Accounting Recordsremoved - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking