Holds
Get a hold
Retrieve a single hold with its lines.
get/v1/holds/{id}
Request
- Base URLhttps://inventories-api.paymongo.com
- URLhttps://inventories-api.paymongo.com/v1/holds/{id}
- Auth
- HTTP basic
- or HTTP bearer
Path parameters
idstring required
Hold id
Query parameters
livemodeboolean
Required for S2S callers; ignored for merchant secret-key callers
Response
OK
Example response
{
"data": {
"closed_at": 1752086400,
"created_at": 1752000000,
"expires_at": 1752086400,
"id": "hold_abc123",
"lines": [
{
"id": "holdline_abc123",
"inventory_item_id": "invitem_abc123",
"quantity": 2
}
],
"livemode": true,
"reason": "checkout",
"state": "open",
"updated_at": 1752000000
}
}Changes
No recorded changes to this operation across all 1 revision of this API.