v1
latestOpenAPI 3.1.02026-08-06236494759.4 KBPre-approved Spend
Get Purchases
Endpoint to get a specific Purchase by ID.
get/business/v2/purchases/{purchaseId}
Path parameters
purchaseIdstring required
The Purchase ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Response
The returned resource is a single Purchase.
Example response
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"title": "Tech book",
"description": "A purchase to approve",
"amount": 10.25,
"wallet_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"wallet_name": "John Doe",
"has_attachments": true,
"notes": "Notes about the purchase request",
"assignee_id": "XMPL1234-000003",
"assignee_custom_reference_id": "123456-user-1",
"author_id": "XMPL1234-000001",
"author_custom_reference_id": "123456-user-2",
"expiration_date": "2017-06-01T12:48:40Z",
"card_id": "2d65bd5e-3fdf-4002-b166-bde7fb8863fa",
"transactions": [
{
"id": "c861cc24-6663-410f-8c78-73f886fff4ef",
"amount": 10.25,
"completed_time": "2017-06-01T12:48:40Z"
}
],
"max_tx_number": 3,
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z"
}