API Reference
Transactions
View transactions for fulfilled orders
GET/v1/transactions/{orderId}
Get Transaction By Order ID
Get a transaction by order ID. Every order that has been paid has a transaction associated with it. This endpoint returns the transaction details for a given order ID.
Authorization
x-api-key
Required<token>
The API key to authenticate requests provided by Roastify. If you do not have an API key, please contact [email protected]
In: header
Path Parameters
orderId
Requiredstring
The Id of the order
Example:"1ef87e47-266e-466f-ab06-a64994aefbb0"
Minimum length: 1
Status code | Description |
---|---|
200 | Get a transaction by order ID |
400 | Returns an error |
401 | Unauthorized |
404 | Not Found |
422 | Data Validation Error |
500 | Internal Server Error |