Retrieves a charge
Changed onFetches a single charge with merchant metadata, amounts, and workflow state so reviewers can decide coding before reimbursement. Use this after list-all-charges surfaces an id that needs manual inspection or attachment to a bill.
Request
- Base URLhttps://api.rillet.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
UUID of the charge to be used in this operation.
Response
OK
Example response
{
"items": [
{
"description": "API Charge",
"account_code": "11112",
"amount": {
"amount": "1.01",
"currency": "USD"
},
"tax_rate": {
"percentage": "0",
"tax_amount": {
"amount": "1.01",
"currency": "USD"
},
"country": "US"
}
}
],
"credit_card_account_code": "11112",
"funding_account_code": "11112",
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"exchange_rate": {
"base": "USD",
"target": "USD"
}
}Changes
- breaking
the response property
////became optional for the status - breaking
the
////response's property type changed fromstringto no type for status - breaking
the
///////////////response's property type changed fromnumbertostring, and format from no format tonumberfor status - breaking
the
////////////////response's property type changed fromnumbertostring, and format from no format tonumberfor status - warning
added the new
DRAFTenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional write-only property
allOf[ChargeRequest]/funding_account_codeto the response with the status - info
added to the
////response propertyallOflist for the response status - info
the response required property
////became write-only for the status
- breaking