Payments
Get a payment
Changed onGet payment
get/payments/{payment_id}
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
payment_idstring required
Example:payment.1zYnCiM9Bpg.lv25y
Query parameters
versioninteger
Example:2
Optional version to get a specific version. Gets latest version if it is not provided.
Response
Response for POST payments requests
Example response
{
"id": "pay.w123rwe.1231",
"accountId": "ACC001",
"lineItemRecords": [
{
"togaiId": "inv.234.12efwe"
}
]
}Changes
- info
the response property
became required for the status
- info
- warning
added the new
CHEQUEenum value to the/response property for the response status - info
removed the
CHECKenum value from the/response property for the response status
- warning