{"components":{"schemas":{"EscrowCreateRequest":{"properties":{"action":{"default":"draft","enum":["draft","submit"],"title":"Action","type":"string"},"amount_minor":{"anyOf":[{"maximum":1000000000000000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Amount Minor"},"counterparty_email":{"anyOf":[{"maxLength":320,"type":"string"},{"type":"null"}],"title":"Counterparty Email"},"courier_method":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"title":"Courier Method"},"deliverables":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Deliverables"},"delivery_address":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Delivery Address"},"delivery_fee_coverage":{"anyOf":[{"enum":["initiator","counterparty","other","split"],"type":"string"},{"type":"null"}],"title":"Delivery Fee Coverage"},"delivery_required":{"default":false,"title":"Delivery Required","type":"boolean"},"description":{"default":"","maxLength":10000,"title":"Description","type":"string"},"fee_coverage":{"anyOf":[{"enum":["initiator","counterparty","other","split"],"type":"string"},{"type":"null"}],"title":"Fee Coverage"},"funding_party":{"default":"initiator","enum":["initiator","counterparty","other"],"title":"Funding Party","type":"string"},"funding_party_email":{"anyOf":[{"maxLength":320,"type":"string"},{"type":"null"}],"title":"Funding Party Email"},"initiator_role":{"default":"buyer","enum":["buyer","seller","client","provider","party_a","party_b"],"title":"Initiator Role","type":"string"},"inspection_terms":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Inspection Terms"},"item_condition":{"anyOf":[{"maxLength":4000,"type":"string"},{"type":"null"}],"title":"Item Condition"},"purpose":{"default":"goods_sale","enum":["goods_sale","service_agreement","general_agreement"],"title":"Purpose","type":"string"},"release_conditions":{"default":"","maxLength":10000,"title":"Release Conditions","type":"string"},"scope":{"anyOf":[{"maxLength":10000,"type":"string"},{"type":"null"}],"title":"Scope"},"subject":{"default":"","maxLength":240,"title":"Subject","type":"string"},"terms_accepted":{"default":false,"title":"Terms Accepted","type":"boolean"}},"title":"EscrowCreateRequest","type":"object"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"},"ValidationError":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"}},"securitySchemes":{"APIKeyHeader":{"description":"Your business registration number, exactly as on your Hollyway business profile. Required on every call together with the API key.","in":"header","name":"Hollyway-Registration-Number","type":"apiKey"},"HTTPBearer":{"description":"Your Hollyway API key, sent as `Authorization: Bearer hwg_live_...`","scheme":"bearer","type":"http"}}},"info":{"description":"Create and track escrows, read live marketplace listings and service fees, and receive webhooks. Amounts are in kobo (1 naira = 100 kobo). Only verified business accounts can use it.\n\n**Versioning.** Version 1 only ever adds: new fields, endpoints and events. Existing fields are never renamed, removed or repurposed, so ignore fields you do not know. A breaking change would be released as /api/v2 and v1 would keep working.\n\n**Webhooks.** Each event is a POST with a JSON body `{id, type, created_at, data}` and the headers `Hollyway-Signature: t=<unix>,v1=<hex>`, `Hollyway-Event`, `Hollyway-Delivery`. Verify by computing HMAC-SHA256 over `<t>.<raw body>` with your endpoint secret and comparing it to `v1` in constant time; reject if `t` is more than 5 minutes old. Answer any 2xx quickly. Anything else is retried 6 times with growing gaps (30s, 2m, 8m, 32m, 2h). The `id` never changes between retries, so use it to ignore duplicates.","title":"Hollyway Business API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/v1/business/escrows":{"get":{"operationId":"list_escrows_api_v1_business_escrows_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response List Escrows Api V1 Business Escrows Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"List your escrows","tags":["Business API"],"x-reference":{"description":"Lists the escrows your business created or takes part in, newest first.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["With a test key the list is always empty, because test keys store nothing. The response then also carries `\"sandbox\": true`."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":25,"description":"Items per page, 1 to 100.","name":"page_size","required":false,"type":"integer"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":false,"has_previous":false,"items":[{"amount_minor":25000000,"counterparty_email":"buyer@example.com","created_at":"2026-11-22T17:38:59+01:00","created_by_user_id":"b353c05a-072e-44cb-b52f-be29a5ae0731","currency":"NGN","delivery_required":false,"description":"MacBook Pro 14","disputes":[],"escrow_fee_max_minor":330000,"escrow_fee_min_minor":330000,"fee_coverage":"counterparty","funding_party_email":"buyer@example.com","funding_party_type":"counterparty","id":"3ce0154d-50d6-47ea-8a98-d8845d7e3d40","initiator_role":"seller","inspection_terms":"Buyer tests for 24 hours.","item_condition":"Used, good","loyalty_discount_percentage":0,"participants":[{"accepted_at":"2026-11-22T17:38:59+01:00","email":"you@yourbusiness.com","id":"5ea10b09-3f0e-4e91-a5de-245a501e4947","identity_verified":true,"role":"seller"}],"payments":[],"payout":null,"purpose":"goods_sale","purpose_label":"Item sale","reference":"HWE-9QRYTF","release_conditions":"Release after the buyer confirms delivery.","status":"draft","status_events":[{"created_at":"2026-11-22T17:38:59+01:00","from_status":null,"reason":"Escrow request created","to_status":"draft"}],"status_label":"Draft","subject":"Used laptop","updated_at":"2026-11-22T16:38:59Z"}],"page":1,"page_size":25,"total":1,"total_pages":1}}}},"post":{"description":"Creates an escrow exactly as the app does. The buyer pays into Hollyway, never to you, and the funding and agreement rules apply in full.\n\nA **test** key validates the request and returns a sandbox escrow without saving it, and fires an `escrow.created` test webhook. Send an `Idempotency-Key` header so a retry never creates two escrows.","operationId":"create_escrow_api_v1_business_escrows_post","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"title":"Idempotency-Key"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowCreateRequest"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Create Escrow Api V1 Business Escrows Post","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Create an escrow","tags":["Business API"],"x-reference":{"description":"Creates an escrow. The buyer's money goes into Hollyway's escrow, never to your business, and the same agreement and funding rules as the Hollyway app apply.","errors":[{"body":{"detail":"Write the testing and inspection terms for this item before submitting."},"meaning":"The request is well formed but breaks a rule. `detail` is a sentence you can show to a person, or a list of field problems.","status":422},{"body":{"detail":"The other party must have approved identity details."},"meaning":"`action: submit` is refused until the other party has approved identity details on Hollyway.","status":422},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["Send an `Idempotency-Key` header (any unique string up to 120 characters, such as your order id). If a request is retried with the same key you get the first answer back and no second escrow is made.","With a **test** key nothing is saved. You get a sandbox escrow (reference starts HWE-TEST-, `\"sandbox\": true`) and an `escrow.created` webhook with `livemode: false` is sent to your **test** webhook addresses only. Live addresses never receive sandbox events.","Use `action: draft` to save without contacting the other party, then submit from the Hollyway app or send `action: submit` once the other party has verified their identity.","Amounts are in kobo. 25000000 is ₦250,000."],"query":[],"request_example":{"action":"draft","amount_minor":25000000,"counterparty_email":"buyer@example.com","description":"MacBook Pro 14","funding_party":"counterparty","initiator_role":"seller","inspection_terms":"Buyer tests for 24 hours.","item_condition":"Used, good","purpose":"goods_sale","release_conditions":"Release after the buyer confirms delivery.","subject":"Used laptop","terms_accepted":true},"request_fields":[{"allowed":["draft","submit"],"default":"draft","description":"`draft` saves the escrow so you can finish it later and does not contact the other party. `submit` sends it to the other party and runs every check below.","name":"action","required":false,"type":"string"},{"allowed":["goods_sale","service_agreement","general_agreement"],"default":"goods_sale","description":"What the escrow protects. It decides which roles and fields apply.","name":"purpose","required":false,"type":"string"},{"allowed":["buyer","seller","client","provider","party_a","party_b"],"default":"buyer","description":"Your role. Must match the purpose: goods_sale uses buyer or seller, service_agreement uses client or provider, general_agreement uses party_a or party_b.","name":"initiator_role","required":false,"type":"string"},{"description":"A short title of what is protected, up to 240 characters.","name":"subject","required":"on submit","type":"string"},{"description":"A full description of the item, service or agreement, up to 10,000 characters.","name":"description","required":"on submit","type":"string"},{"description":"The agreed value in kobo (100 kobo = 1 naira). The minimum to submit is 100000 (₦1,000).","name":"amount_minor","required":"on submit","type":"integer"},{"allowed":["initiator","counterparty","other","split"],"description":"Accepted for compatibility. Today the escrow fee follows `funding_party`, and the response shows the value that was applied.","name":"fee_coverage","required":false,"type":"string"},{"allowed":["initiator","counterparty","other"],"default":"initiator","description":"Who pays into escrow. `initiator` is you, `counterparty` is the other party, `other` is a third person whose email you give in `funding_party_email`.","name":"funding_party","required":false,"type":"string"},{"description":"Email of the third person who will pay. Hollyway invites them to fund the escrow.","name":"funding_party_email","required":"when funding_party is other","type":"string"},{"description":"Email of the other party. They must have an active Hollyway account.","name":"counterparty_email","required":"on submit","type":"string"},{"default":false,"description":"True when the item must be delivered. Only for goods_sale.","name":"delivery_required","required":false,"type":"boolean"},{"description":"Full delivery address, up to 2,000 characters.","name":"delivery_address","required":"on submit when delivery_required","type":"string"},{"allowed":["initiator","counterparty","other","split"],"description":"Who covers the delivery fee.","name":"delivery_fee_coverage","required":"on submit when delivery_required","type":"string"},{"description":"Preferred courier or delivery method, up to 160 characters.","name":"courier_method","required":false,"type":"string"},{"description":"Condition of the item. goods_sale only.","name":"item_condition","required":false,"type":"string"},{"description":"How and for how long the buyer may test the item. goods_sale only.","name":"inspection_terms","required":"on submit for goods_sale","type":"string"},{"description":"What work is included. service_agreement only.","name":"scope","required":"on submit for service_agreement","type":"string"},{"description":"What will be handed over. service_agreement only.","name":"deliverables","required":"on submit for service_agreement","type":"string"},{"description":"The conditions that must be met before Hollyway releases the money.","name":"release_conditions","required":"on submit","type":"string"},{"description":"Must be true. It records that you accepted the escrow terms.","name":"terms_accepted","required":"on submit","type":"boolean"}],"response_example":{"data":{"amount_minor":25000000,"counterparty_email":"buyer@example.com","created_at":"2026-11-22T17:38:59+01:00","created_by_user_id":"b353c05a-072e-44cb-b52f-be29a5ae0731","currency":"NGN","delivery_required":false,"description":"MacBook Pro 14","disputes":[],"escrow_fee_max_minor":330000,"escrow_fee_min_minor":330000,"fee_coverage":"counterparty","funding_party_email":"buyer@example.com","funding_party_type":"counterparty","id":"3ce0154d-50d6-47ea-8a98-d8845d7e3d40","initiator_role":"seller","inspection_terms":"Buyer tests for 24 hours.","item_condition":"Used, good","loyalty_discount_percentage":0,"participants":[{"accepted_at":"2026-11-22T17:38:59+01:00","email":"you@yourbusiness.com","id":"5ea10b09-3f0e-4e91-a5de-245a501e4947","identity_verified":true,"role":"seller"}],"payments":[],"payout":null,"purpose":"goods_sale","purpose_label":"Item sale","reference":"HWE-9QRYTF","release_conditions":"Release after the buyer confirms delivery.","status":"draft","status_events":[{"created_at":"2026-11-22T17:38:59+01:00","from_status":null,"reason":"Escrow request created","to_status":"draft"}],"status_label":"Draft","subject":"Used laptop","updated_at":"2026-11-22T16:38:59Z"},"message":"Escrow draft saved."}}}},"/api/v1/business/escrows/{reference}":{"get":{"operationId":"get_escrow_api_v1_business_escrows__reference__get","parameters":[{"in":"path","name":"reference","required":true,"schema":{"title":"Reference","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Get Escrow Api V1 Business Escrows  Reference  Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Get one escrow","tags":["Business API"],"x-reference":{"description":"Returns one escrow with its participants, payments, disputes, payout and full status history.","errors":[{"body":{"detail":"Escrow was not found."},"meaning":"No escrow with that reference belongs to your business, or you used a test key (test keys store nothing).","status":404},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["`reference` is the value from `data.reference` when you created it, for example HWE-9QRYTF."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"amount_minor":25000000,"counterparty_email":"buyer@example.com","created_at":"2026-11-22T17:38:59+01:00","created_by_user_id":"b353c05a-072e-44cb-b52f-be29a5ae0731","currency":"NGN","delivery_required":false,"description":"MacBook Pro 14","disputes":[],"escrow_fee_max_minor":330000,"escrow_fee_min_minor":330000,"fee_coverage":"counterparty","funding_party_email":"buyer@example.com","funding_party_type":"counterparty","id":"3ce0154d-50d6-47ea-8a98-d8845d7e3d40","initiator_role":"seller","inspection_terms":"Buyer tests for 24 hours.","item_condition":"Used, good","loyalty_discount_percentage":0,"participants":[{"accepted_at":"2026-11-22T17:38:59+01:00","email":"you@yourbusiness.com","id":"5ea10b09-3f0e-4e91-a5de-245a501e4947","identity_verified":true,"role":"seller"}],"payments":[],"payout":null,"purpose":"goods_sale","purpose_label":"Item sale","reference":"HWE-9QRYTF","release_conditions":"Release after the buyer confirms delivery.","status":"draft","status_events":[{"created_at":"2026-11-22T17:38:59+01:00","from_status":null,"reason":"Escrow request created","to_status":"draft"}],"status_label":"Draft","subject":"Used laptop","updated_at":"2026-11-22T16:38:59Z"}}}}},"/api/v1/business/events":{"get":{"description":"The same events webhooks carry, newest first, for 30 days. Use it to catch up after downtime or to backfill without a webhook.","operationId":"list_events_api_v1_business_events_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Page Size","type":"integer"}},{"in":"query","name":"type","required":false,"schema":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Type"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response List Events Api V1 Business Events Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Everything that happened to your records","tags":["Business API"],"x-reference":{"description":"Returns the events that happened to your records, newest first, for 30 days. They are exactly what webhooks deliver, so you can catch up after downtime, backfill without registering a webhook, or reconcile.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["With a test key this returns an empty list marked `\"sandbox\": true`, because test keys store nothing.","Covers every feature: escrow, listings, orders, wanted requests, deliveries, relocations, professional and event requests, solar, wallet deposits and payouts, identity and business verification, and support tickets.","Events hold references and amounts, never personal details. Use the reference to fetch the record."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":50,"description":"Events per page, 1 to 200.","name":"page_size","required":false,"type":"integer"},{"description":"Only this event, such as `order.delivered`, or a whole feature with `listing.*`.","name":"type","required":false,"type":"string"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":false,"has_previous":false,"items":[{"created_at":"2026-11-22T10:15:00+00:00","data":{"currency":"NGN","livemode":true,"previous_status":"draft","reference":"HWO-4F7K2Q","resource":"order","status":"pending_review","subtotal_minor":12500000},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"order.pending_review"}],"page":1,"page_size":50,"total":1,"total_pages":1}}}}},"/api/v1/business/fees":{"get":{"operationId":"fees_api_v1_business_fees_get","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Fees Api V1 Business Fees Get","type":"object"}}},"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Current Hollyway fee policy","tags":["Business API"],"x-reference":{"description":"Returns the full current fee policy: listing fees, wanted-request fees, escrow fee bands and service fees.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["Amounts are in kobo. Fields can be added over time; ignore ones you do not use."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"currency":"NGN","listing":{"amount_minor":0,"label":"Free"},"service_fees":{}}}}}},"/api/v1/business/listings":{"get":{"description":"Live, published marketplace listings. The same search the website uses, so results always match what customers see. Prices are in kobo.","operationId":"listings_api_v1_business_listings_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":24,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}},{"in":"query","name":"query","required":false,"schema":{"default":"","maxLength":120,"title":"Query","type":"string"}},{"in":"query","name":"category","required":false,"schema":{"default":"","maxLength":120,"title":"Category","type":"string"}},{"in":"query","name":"condition","required":false,"schema":{"default":"","maxLength":80,"title":"Condition","type":"string"}},{"in":"query","name":"location","required":false,"schema":{"default":"","maxLength":120,"title":"Location","type":"string"}},{"in":"query","name":"minimum_price_minor","required":false,"schema":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Minimum Price Minor"}},{"in":"query","name":"maximum_price_minor","required":false,"schema":{"anyOf":[{"minimum":0,"type":"integer"},{"type":"null"}],"title":"Maximum Price Minor"}},{"in":"query","name":"sort","required":false,"schema":{"default":"newest","pattern":"^(newest|oldest|price_asc|price_desc|most_viewed|name_asc)$","title":"Sort","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Listings Api V1 Business Listings Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Search marketplace listings","tags":["Business API"],"x-reference":{"description":"Searches live marketplace listings with the same search the Hollyway website uses, so results always match what customers see.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["Only approved, published listings are returned. Prices are in kobo."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":24,"description":"Items per page, 1 to 100.","name":"page_size","required":false,"type":"integer"},{"description":"Words to look for in the name, brand, description, category, place or listing code. Every word must match; if nothing matches all words, listings matching some words are returned. Up to 120 characters.","name":"query","required":false,"type":"string"},{"description":"Exact category name.","name":"category","required":false,"type":"string"},{"description":"Exact condition, for example Brand New.","name":"condition","required":false,"type":"string"},{"description":"Part of an area, city or state.","name":"location","required":false,"type":"string"},{"description":"Lowest unit price in kobo.","name":"minimum_price_minor","required":false,"type":"integer"},{"description":"Highest unit price in kobo.","name":"maximum_price_minor","required":false,"type":"integer"},{"allowed":["newest","oldest","price_asc","price_desc","most_viewed","name_asc"],"default":"newest","description":"Order. With a search and no sort chosen, the best match comes first.","name":"sort","required":false,"type":"string"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":true,"has_previous":false,"items":[{"brand":"Hisense","bulk_price_minor":null,"category":"Home & kitchen appliances","city":"Lagos","condition":"Brand New","created_at":"2026-10-31T18:44:08Z","delivery_fee_coverage":"Buyer pays","escrow_fee_coverage":"Buyer pays","featured":false,"item_name":"Chest Freezer 220L","listing_code":"HWG-UBWAQG33VVZ7","location":"Yaba, Lagos, Lagos","media":[{"byte_size":184233,"download_path":"/api/v1/marketplace/listings/HWG-UBWAQG33VVZ7/media/8147de8e-8ee6-41a5-99dc-51a01d0acc6b","id":"8147de8e-8ee6-41a5-99dc-51a01d0acc6b","kind":"image","mime_type":"image/jpeg"}],"preferred_delivery_method":"Logistics company","quantity":1,"reference":"HWG-UBWAQG33VVZ7","selling_route":"declutter","state":"Lagos","status":"approved","unit":"piece","unit_price_minor":12500000,"updated_at":"2026-10-31T18:44:18Z","views":12,"year":2025}],"page":1,"page_size":24,"total":221,"total_pages":10}}}}},"/api/v1/business/listings/{reference}":{"get":{"operationId":"listing_api_v1_business_listings__reference__get","parameters":[{"in":"path","name":"reference","required":true,"schema":{"title":"Reference","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Listing Api V1 Business Listings  Reference  Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Get one marketplace listing","tags":["Business API"],"x-reference":{"description":"Returns one published listing in full.","errors":[{"body":{"detail":"That listing was not found."},"meaning":"No published listing has that reference.","status":404},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["Reading a listing through the API does not count as a view on it."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"brand":"Hisense","bulk_price_minor":null,"category":"Home & kitchen appliances","city":"Lagos","condition":"Brand New","created_at":"2026-10-31T18:44:08Z","delivery_fee_coverage":"Buyer pays","escrow_fee_coverage":"Buyer pays","featured":false,"item_name":"Chest Freezer 220L","listing_code":"HWG-UBWAQG33VVZ7","location":"Yaba, Lagos, Lagos","media":[{"byte_size":184233,"download_path":"/api/v1/marketplace/listings/HWG-UBWAQG33VVZ7/media/8147de8e-8ee6-41a5-99dc-51a01d0acc6b","id":"8147de8e-8ee6-41a5-99dc-51a01d0acc6b","kind":"image","mime_type":"image/jpeg"}],"preferred_delivery_method":"Logistics company","quantity":1,"reference":"HWG-UBWAQG33VVZ7","selling_route":"declutter","state":"Lagos","status":"approved","unit":"piece","unit_price_minor":12500000,"updated_at":"2026-10-31T18:44:18Z","views":12,"year":2025}}}}},"/api/v1/business/me":{"get":{"operationId":"me_api_v1_business_me_get","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Me Api V1 Business Me Get","type":"object"}}},"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Check your key","tags":["Business API"],"x-reference":{"description":"Checks that your key works and tells you which key and mode you are using. Call it first when you set up.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["`mode` is test or live. A test key never touches real money or real escrows."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"account_email":"you@yourbusiness.com","api_version":"1","key_name":"Checkout server","mode":"test"}}}}},"/api/v1/business/my-listings":{"get":{"operationId":"list_my_listings_api_v1_business_my_listings_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response List My Listings Api V1 Business My Listings Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"List your own marketplace listings","tags":["Business API"],"x-reference":{"description":"Lists the marketplace listings your business posted, including drafts and ones under review.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["With a test key this returns an empty list marked `\"sandbox\": true`, because test keys store nothing.","`GET /listings` is different: it searches everyone's live listings."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":25,"description":"Items per page, 1 to 100.","name":"page_size","required":false,"type":"integer"},{"description":"Only records with this status, for example `delivered`.","name":"status","required":false,"type":"string"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":false,"has_previous":false,"items":[{"brand":"Hisense","bulk_price_minor":null,"category":"Home & kitchen appliances","city":"Lagos","condition":"Brand New","created_at":"2026-10-31T18:44:08Z","delivery_fee_coverage":"Buyer pays","escrow_fee_coverage":"Buyer pays","featured":false,"item_name":"Chest Freezer 220L","listing_code":"HWG-UBWAQG33VVZ7","location":"Yaba, Lagos, Lagos","media":[{"byte_size":184233,"download_path":"/api/v1/marketplace/listings/HWG-UBWAQG33VVZ7/media/8147de8e-8ee6-41a5-99dc-51a01d0acc6b","id":"8147de8e-8ee6-41a5-99dc-51a01d0acc6b","kind":"image","mime_type":"image/jpeg"}],"preferred_delivery_method":"Logistics company","quantity":1,"reference":"HWG-UBWAQG33VVZ7","selling_route":"declutter","state":"Lagos","status":"pending_review","unit":"piece","unit_price_minor":12500000,"updated_at":"2026-10-31T18:44:18Z","views":12,"year":2025}],"page":1,"page_size":25,"total":1,"total_pages":1}}}}},"/api/v1/business/my-listings/{reference}":{"get":{"operationId":"get_my_listing_api_v1_business_my_listings__reference__get","parameters":[{"in":"path","name":"reference","required":true,"schema":{"title":"Reference","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Get My Listing Api V1 Business My Listings  Reference  Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Get one of your listings","tags":["Business API"],"x-reference":{"description":"Returns one of your listings in full.","errors":[{"body":{"detail":"Listing was not found."},"meaning":"No listing of yours has that reference.","status":404},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":[],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"brand":"Hisense","bulk_price_minor":null,"category":"Home & kitchen appliances","city":"Lagos","condition":"Brand New","created_at":"2026-10-31T18:44:08Z","delivery_fee_coverage":"Buyer pays","escrow_fee_coverage":"Buyer pays","featured":false,"item_name":"Chest Freezer 220L","listing_code":"HWG-UBWAQG33VVZ7","location":"Yaba, Lagos, Lagos","media":[{"byte_size":184233,"download_path":"/api/v1/marketplace/listings/HWG-UBWAQG33VVZ7/media/8147de8e-8ee6-41a5-99dc-51a01d0acc6b","id":"8147de8e-8ee6-41a5-99dc-51a01d0acc6b","kind":"image","mime_type":"image/jpeg"}],"preferred_delivery_method":"Logistics company","quantity":1,"reference":"HWG-UBWAQG33VVZ7","selling_route":"declutter","state":"Lagos","status":"approved","unit":"piece","unit_price_minor":12500000,"updated_at":"2026-10-31T18:44:18Z","views":12,"year":2025}}}}},"/api/v1/business/orders":{"get":{"operationId":"list_orders_api_v1_business_orders_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response List Orders Api V1 Business Orders Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"List your orders","tags":["Business API"],"x-reference":{"description":"Lists the orders you placed as a buyer, newest first, with items, fees and the full status history.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["With a test key this returns an empty list marked `\"sandbox\": true`, because test keys store nothing.","Amounts are in kobo."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":25,"description":"Items per page, 1 to 100.","name":"page_size","required":false,"type":"integer"},{"description":"Only records with this status, for example `delivered`.","name":"status","required":false,"type":"string"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":false,"has_previous":false,"items":[{"created_at":"2026-11-22T10:15:00Z","delivery_address":"12 Allen Avenue, Ikeja, Lagos","delivery_fee_minor":150000,"delivery_method":"Logistics company","escrow_fee_minor":250000,"id":"6c1f6a0e-3b0f-4a43-9e70-0a6d1c1a7e11","items":[{"item_name":"Chest Freezer 220L","listing_reference":"HWG-UBWAQG33VVZ7","quantity":1,"subtotal_minor":12500000,"unit_price_minor":12500000}],"order_type":"marketplace","reference":"HWO-4F7K2Q","status":"pending_review","status_events":[{"created_at":"2026-11-22T10:15:00Z","from_status":null,"reason":"Order request submitted","to_status":"pending_review"}],"status_label":"Pending review","subtotal_minor":12500000,"updated_at":"2026-11-22T10:15:00Z"}],"page":1,"page_size":25,"total":1,"total_pages":1}}}}},"/api/v1/business/orders/{reference}":{"get":{"operationId":"get_order_api_v1_business_orders__reference__get","parameters":[{"in":"path","name":"reference","required":true,"schema":{"title":"Reference","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Get Order Api V1 Business Orders  Reference  Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Get one of your orders","tags":["Business API"],"x-reference":{"description":"Returns one order you placed.","errors":[{"body":{"detail":"The order was not found."},"meaning":"No order with that reference belongs to your business.","status":404},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["`reference` looks like HWO-4F7K2Q."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"created_at":"2026-11-22T10:15:00Z","delivery_address":"12 Allen Avenue, Ikeja, Lagos","delivery_fee_minor":150000,"delivery_method":"Logistics company","escrow_fee_minor":250000,"id":"6c1f6a0e-3b0f-4a43-9e70-0a6d1c1a7e11","items":[{"item_name":"Chest Freezer 220L","listing_reference":"HWG-UBWAQG33VVZ7","quantity":1,"subtotal_minor":12500000,"unit_price_minor":12500000}],"order_type":"marketplace","reference":"HWO-4F7K2Q","status":"pending_review","status_events":[{"created_at":"2026-11-22T10:15:00Z","from_status":null,"reason":"Order request submitted","to_status":"pending_review"}],"status_label":"Pending review","subtotal_minor":12500000,"updated_at":"2026-11-22T10:15:00Z"}}}}},"/api/v1/business/sales":{"get":{"operationId":"list_sales_api_v1_business_sales_get","parameters":[{"in":"query","name":"page","required":false,"schema":{"default":1,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"page_size","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"title":"Page Size","type":"integer"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"title":"Status"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response List Sales Api V1 Business Sales Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"List orders placed on your listings","tags":["Business API"],"x-reference":{"description":"Lists orders other customers placed on your marketplace listings. Each shows only your items, and the buyer's contact details Hollyway shares with sellers.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["With a test key this returns an empty list marked `\"sandbox\": true`, because test keys store nothing."],"query":[{"default":1,"description":"Page number, starting at 1.","name":"page","required":false,"type":"integer"},{"default":25,"description":"Items per page, 1 to 100.","name":"page_size","required":false,"type":"integer"},{"description":"Only records with this status, for example `delivered`.","name":"status","required":false,"type":"string"}],"request_example":null,"request_fields":[],"response_example":{"data":{"has_next":false,"has_previous":false,"items":[{"buyer":{"name":"Buyer name"},"created_at":"2026-11-22T10:15:00Z","delivery_address":"12 Allen Avenue, Ikeja, Lagos","delivery_fee_minor":150000,"delivery_method":"Logistics company","escrow_fee_minor":250000,"id":"6c1f6a0e-3b0f-4a43-9e70-0a6d1c1a7e11","items":[{"item_name":"Chest Freezer 220L","listing_reference":"HWG-UBWAQG33VVZ7","quantity":1,"subtotal_minor":12500000,"unit_price_minor":12500000}],"order_type":"marketplace","reference":"HWO-4F7K2Q","status":"pending_review","status_events":[{"created_at":"2026-11-22T10:15:00Z","from_status":null,"reason":"Order request submitted","to_status":"pending_review"}],"status_label":"Pending review","subtotal_minor":12500000,"updated_at":"2026-11-22T10:15:00Z"}],"page":1,"page_size":25,"total":1,"total_pages":1}}}}},"/api/v1/business/sales/{reference}":{"get":{"operationId":"get_sale_api_v1_business_sales__reference__get","parameters":[{"in":"path","name":"reference","required":true,"schema":{"title":"Reference","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Get Sale Api V1 Business Sales  Reference  Get","type":"object"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Get one sale","tags":["Business API"],"x-reference":{"description":"Returns one sale.","errors":[{"body":{"detail":"The sale was not found."},"meaning":"No sale with that reference on your listings.","status":404},{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":[],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":{"buyer":{"name":"Buyer name"},"created_at":"2026-11-22T10:15:00Z","delivery_address":"12 Allen Avenue, Ikeja, Lagos","delivery_fee_minor":150000,"delivery_method":"Logistics company","escrow_fee_minor":250000,"id":"6c1f6a0e-3b0f-4a43-9e70-0a6d1c1a7e11","items":[{"item_name":"Chest Freezer 220L","listing_reference":"HWG-UBWAQG33VVZ7","quantity":1,"subtotal_minor":12500000,"unit_price_minor":12500000}],"order_type":"marketplace","reference":"HWO-4F7K2Q","status":"pending_review","status_events":[{"created_at":"2026-11-22T10:15:00Z","from_status":null,"reason":"Order request submitted","to_status":"pending_review"}],"status_label":"Pending review","subtotal_minor":12500000,"updated_at":"2026-11-22T10:15:00Z"}}}}},"/api/v1/business/services":{"get":{"description":"Built from the live fee settings, so a fee changed in Hollyway admin shows here at once. A service with no fee set returns `fee: null`.","operationId":"services_api_v1_business_services_get","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Services Api V1 Business Services Get","type":"object"}}},"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"List Hollyway services and their current fees","tags":["Business API"],"x-reference":{"description":"Lists Hollyway's four services and the fee currently set for each. It reads the live fee settings, so a change in Hollyway admin shows here immediately.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["`fee` is null when Hollyway charges no fee for that service. When set, `mode` is `percent` (value is a percentage) or `flat` (value is in kobo).","The `key` values are stable: logistics, relocation, professional, events."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":[{"fee":{"mode":"percent","value":5},"key":"logistics","name":"Delivery and courier bookings"},{"fee":null,"key":"relocation","name":"House and office moves"},{"fee":null,"key":"professional","name":"Verified professionals for jobs and projects"},{"fee":null,"key":"events","name":"Event planning and vendors"}]}}}},"/api/v1/business/webhook-events":{"get":{"operationId":"webhook_events_api_v1_business_webhook_events_get","responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Webhook Events Api V1 Business Webhook Events Get","type":"object"}}},"description":"Successful Response"}},"security":[{"HTTPBearer":[]},{"APIKeyHeader":[]}],"summary":"Events you can subscribe to","tags":["Business API"],"x-reference":{"description":"Lists every event type you can subscribe a webhook address to, with a plain description. It covers every feature and is built from the live database rules, so new statuses appear here by themselves.","errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500}],"notes":["Subscribe to `*` for everything, a feature such as `order.*`, or single events."],"query":[],"request_example":null,"request_fields":[],"response_example":{"data":[{"description":"Escrow: the payment was received and is held by Hollyway","type":"escrow.payment_received"},{"description":"Order: status became delivered","type":"order.delivered"}]}}}}},"x-guides":{"checklist":["Live key and business registration number stored as secrets on your server, not in code.","Webhook receiver verifies the signature and ignores duplicate event ids.","Receiver answers 2xx fast and does slow work afterwards.","Create calls send an Idempotency-Key.","Your code treats unknown fields and event types as harmless.","You handle 429 by waiting Retry-After, and 5xx by retrying with backoff.","You show customers `reference` and `status_label`, not internal ids."],"errors":[{"body":{"detail":"A valid API key and business registration number are required."},"meaning":"The key is missing, wrong or revoked, the registration number does not match, or the account is no longer a verified business. These are deliberately not told apart.","status":401},{"body":{"detail":"Send your business registration number in the Hollyway-Registration-Number header on every call."},"meaning":"The `Hollyway-Registration-Number` header was not sent. Every call needs it together with the key.","status":401},{"body":{"detail":"Rate limit is 120 requests a minute per key."},"meaning":"More than 120 requests in a minute with this key (wait for the Retry-After seconds), or ten wrong registration numbers in ten minutes, which pauses the key for ten minutes.","status":429},{"body":{"detail":"Internal Server Error"},"meaning":"Something failed on our side. Retry with the same Idempotency-Key. If it keeps happening, tell us the time and the path.","status":500},{"body":{"detail":"Write the testing and inspection terms for this item before submitting."},"meaning":"The request is well formed but breaks a rule. `detail` is a sentence you can show to a person, or a list of field problems.","status":422}],"guides":[{"id":"start","steps":["Upgrade your Hollyway account to a verified business account and check your **business registration number** is on your business profile. Every API call needs it.","Open **Settings → API keys** and create a **test** key. Copy it; it is shown once.","Call `GET /me` with the key to confirm it works.","Create a sandbox escrow with `POST /escrows` and a test key, and watch the `escrow.created` webhook arrive.","Create a **live** key, switch your server to it and create a real escrow.","Under **Settings → Webhooks** add a **test** address (your staging server) and a **live** address (your production server), and subscribe to `escrow.payment_received` and `escrow.released`."],"title":"Get started"},{"body":["Every call needs **two things**: your API key and your business registration number.","Send the key in the `Authorization` header: `Authorization: Bearer hwg_live_...`. Keys starting `hwg_test_` are test keys; keys starting `hwg_live_` are live.","Send the registration number in the `Hollyway-Registration-Number` header, exactly as it is on your Hollyway business profile (spaces, dashes and capital letters are ignored). It is a second factor: a key that leaks or is stolen cannot be used without it. Store it as a secret next to the key.","A call with a wrong number is refused with 401, and ten wrong numbers in ten minutes pause that key for ten minutes (429), so the number cannot be guessed.","Only a hash of each key is stored, so a lost key cannot be recovered. Revoke it and make a new one. A revoked key stops working at once.","Keep the key and the registration number on your server. Never put them in a web page, a mobile app or a public repository. The API refuses browser calls with an Authorization header by design.","A key stops working if the business account is no longer verified."],"id":"auth","title":"Authentication"},{"body":["**Test keys** validate your requests and return realistic sandbox answers. They save nothing, move no money and create no real escrows. They still send test webhooks so you can build your receiver.","**Live keys** act on real data: a created escrow is a real escrow, visible to the other party and in your Hollyway dashboard.","Both kinds use the same base URL; the key decides the mode.","**Webhook addresses have a mode too.** A *test* address receives only sandbox events (from test keys). A *live* address receives only real events. You can register both at once, for example your staging and production servers, and neither ever sees the other's events."],"id":"environments","title":"Test and live"},{"body":["Send and receive JSON. Set `Content-Type: application/json` on requests with a body.","Every successful response wraps its payload in `data`. Lists return `data.items` plus paging fields.","**Money** is always an integer number of kobo: 100 kobo = ₦1. ₦250,000 is `25000000`.","**Times** are ISO 8601 strings. Treat them as instants and store them in UTC.","**References** (`HWE-…` for escrows, `HWG-…` for listings) are the identifiers to store and show. Do not parse them.","Every response carries the header `Hollyway-API-Version: 1`."],"id":"conventions","title":"Requests and responses"},{"body":["List endpoints take `page` and `page_size`. The response has `page`, `page_size`, `total`, `total_pages`, `has_next` and `has_previous`. Keep requesting `page + 1` while `has_next` is true."],"id":"pagination","title":"Pagination"},{"body":["Errors use normal HTTP status codes and a JSON body with `detail`.","`detail` is a sentence for people when a rule is broken (422). For malformed input it is a list of `{type, loc, msg, input}` objects naming the field.","**401** key problem. **403** not allowed. **404** not found. **422** invalid or breaks a rule. **429** rate limited. **5xx** our side: retry with backoff."],"id":"errors","title":"Errors"},{"body":["Each key may make 120 requests a minute. Beyond that you receive `429` with a `Retry-After` header (seconds). Your Business page shows live usage per key. Need more? Contact us and we will raise it for your business."],"id":"limits","title":"Rate limits"},{"body":["Send `Idempotency-Key: <unique string>` on `POST /escrows`. Repeating the request with the same key returns the original response and creates nothing new, so retries after a timeout are safe. Use something stable like your order id."],"id":"idempotency","title":"Idempotency"},{"body":["This is **version 1**, and it only ever adds. We may add new endpoints, response fields, query parameters and webhook event types. We will never rename or remove an existing one or change what it means.","Write your integration to ignore fields and events it does not know. A breaking change would ship as `/api/v2` and v1 would keep working.","The reference on this page is generated from the running API, so it always matches what is live."],"id":"versioning","title":"Versioning and changes"}],"objects":{"escrow":[{"description":"Hollyway's internal id.","name":"id","type":"string (uuid)"},{"description":"The public reference, such as HWE-9QRYTF. Use this in every other call and show it to customers.","name":"reference","type":"string"},{"description":"Where the escrow is. See the status table.","name":"status","type":"string"},{"description":"The status in words you can show to a person.","name":"status_label","type":"string"},{"description":"goods_sale, service_agreement or general_agreement.","name":"purpose","type":"string"},{"description":"The role of whoever created it.","name":"initiator_role","type":"string"},{"description":"The agreed value in kobo.","name":"amount_minor","type":"integer"},{"description":"Always NGN.","name":"currency","type":"string"},{"description":"The escrow fee in kobo. A range appears while the final fee depends on the amount band; it is one value when fixed.","name":"escrow_fee_min_minor / escrow_fee_max_minor","type":"integer"},{"description":"Discount applied to the fee, 0 to 15.","name":"loyalty_discount_percentage","type":"integer"},{"description":"initiator, counterparty or other.","name":"funding_party_type","type":"string"},{"description":"The agreed terms, as saved.","name":"subject, description, item_condition, inspection_terms, scope, deliverables, release_conditions","type":"string or null"},{"description":"Delivery details when the item must be delivered.","name":"delivery_required, delivery_address, delivery_fee_coverage, courier_method","type":"mixed"},{"description":"Each party: role, email, name, phone_e164, identity_verified and accepted_at (when they accepted, or null).","name":"participants","type":"array"},{"description":"Payments declared into escrow and whether Hollyway has received them.","name":"payments","type":"array"},{"description":"Any disputes opened on the escrow.","name":"disputes","type":"array"},{"description":"The payout to the seller once the escrow is released.","name":"payout","type":"object or null"},{"description":"Every status change with from_status, to_status, reason and created_at, oldest first.","name":"status_events","type":"array"},{"description":"When it was created and last changed.","name":"created_at, updated_at","type":"string (ISO 8601)"}],"listing":[{"description":"The listing's public reference, such as HWG-UBWAQG33VVZ7. Both fields carry the same value.","name":"reference / listing_code","type":"string"},{"description":"Always approved or published in this API.","name":"status","type":"string"},{"description":"Which market the item is in, for example declutter.","name":"selling_route","type":"string"},{"description":"What the item is.","name":"category, item_name, brand, model_specifications, year, description","type":"mixed"},{"description":"For example Brand New or Used.","name":"condition","type":"string"},{"description":"Units available, in total, and held for open orders.","name":"quantity / total_quantity / reserved_quantity","type":"integer"},{"description":"Pricing per unit in kobo. bulk_price_minor is null when there is no bulk price.","name":"unit / unit_price_minor / bulk_price_minor","type":"string / integer / integer or null"},{"description":"Where the item is.","name":"area, city, state, location","type":"string"},{"description":"How delivery and the escrow fee are handled.","name":"preferred_delivery_method, delivery_fee_coverage, escrow_fee_coverage","type":"string"},{"description":"Whether it is promoted, and how many times it was viewed.","name":"featured, views","type":"boolean / integer"},{"description":"Other versions and extras sold with it.","name":"variants, additional_items","type":"array"},{"description":"Photos and videos. Each has id, kind, name, mime_type, byte_size and download_path. Download a file with a plain GET to download_path on the Hollyway API host; no key is needed.","name":"media","type":"array"},{"description":"Timestamps.","name":"created_at, updated_at","type":"string (ISO 8601)"}]},"statuses":[{"meaning":"Saved by the creator. The other party has not been contacted.","status":"draft"},{"meaning":"Submitted and waiting for Hollyway's review.","status":"pending_review"},{"meaning":"Reviewed and approved.","status":"approved"},{"meaning":"Waiting for the other party to accept the terms.","status":"awaiting_party_acceptance"},{"meaning":"Accepted. Waiting for the person who funds it to be confirmed and pay.","status":"awaiting_funder"},{"meaning":"Ready to be paid into escrow.","status":"payment_pending"},{"meaning":"A payment proof was uploaded and is being checked.","status":"payment_proof_submitted"},{"meaning":"The payment proof passed checks.","status":"payment_verified"},{"meaning":"Hollyway received the money and is holding it. This is the point to deliver the goods or start the work.","status":"payment_received"},{"meaning":"The payment could not be confirmed.","status":"payment_rejected"},{"meaning":"A delivery was booked.","status":"dispatch_booked"},{"meaning":"The item is on its way.","status":"in_transit"},{"meaning":"Delivery was marked done.","status":"delivered"},{"meaning":"The buyer is testing the item.","status":"inspection"},{"meaning":"The buyer confirmed they are satisfied.","status":"buyer_confirmed"},{"meaning":"Hollyway released the money to the seller. Final.","status":"released"},{"meaning":"A dispute is open. Money stays held until the team resolves it.","status":"disputed"},{"meaning":"The money went back to the funder. Final.","status":"refunded"},{"meaning":"Completed and closed. Final.","status":"closed"},{"meaning":"Cancelled before completion. Final.","status":"cancelled"},{"meaning":"Not completed in time. Final.","status":"expired"}],"webhooks":{"delivery":["Each event is one POST with a JSON body `{id, type, created_at, data}`.","Answer with any 2xx status within 10 seconds. Anything else, or no answer, is a failure.","Failures are retried 6 times in total, at growing gaps (30 seconds, 2 minutes, 8 minutes, 32 minutes, 2 hours). After that the delivery is marked failed and stays in your delivery log.","Delivery is **at least once**: you can receive the same event twice. Use the event `id` to ignore repeats.","Order is not guaranteed. Use `data.status` and `created_at`, or fetch the escrow with `GET /escrows/{reference}`, when order matters.","Addresses must be https on the public internet. Private networks and redirects are refused."],"headers":[["Hollyway-Signature","`t=<unix time>,v1=<signature>`. See verifying below."],["Hollyway-Event","The event type, for example escrow.payment_received."],["Hollyway-Delivery","The event id. It is the same on every retry."],["Content-Type","application/json"]],"intro":"Webhooks tell your server when something happens to any of your records (escrows, listings, orders, deliveries, wallet, solar, services, verification and support) so you never have to poll. Add an https address under Settings → Webhooks, choose what it receives or choose everything, and keep the signing secret safe.","modes":["Every webhook address is either **test** or **live**. Add one of each to run staging and production side by side.","**Live** addresses receive events about real escrows, with `data.livemode: true`.","**Test** addresses receive the sandbox events your test keys create, with `data.livemode: false`.","Neither kind ever receives the other's events, so a test can never trigger real actions on your production server.","You can register up to 5 test and 5 live addresses. All addresses must be https on the public internet; to test on your own machine, expose it with a tunnel such as ngrok or Cloudflare Tunnel and register that https address as a test address."],"resources":[{"events":[{"description":"A new one was created.","type":"escrow.created"},{"description":"Saved by the creator. The other party has not been contacted.","type":"escrow.draft"},{"description":"Submitted and waiting for Hollyway's review.","type":"escrow.pending_review"},{"description":"Reviewed and approved.","type":"escrow.approved"},{"description":"Waiting for the other party to accept the terms.","type":"escrow.awaiting_party_acceptance"},{"description":"Accepted. Waiting for the person who funds it to be confirmed and pay.","type":"escrow.awaiting_funder"},{"description":"Ready to be paid into escrow.","type":"escrow.payment_pending"},{"description":"The payment proof passed checks.","type":"escrow.payment_verified"},{"description":"A payment proof was uploaded and is being checked.","type":"escrow.payment_proof_submitted"},{"description":"Hollyway received the money and is holding it. This is the point to deliver the goods or start the work.","type":"escrow.payment_received"},{"description":"The payment could not be confirmed.","type":"escrow.payment_rejected"},{"description":"A delivery was booked.","type":"escrow.dispatch_booked"},{"description":"The item is on its way.","type":"escrow.in_transit"},{"description":"Delivery was marked done.","type":"escrow.delivered"},{"description":"The buyer is testing the item.","type":"escrow.inspection"},{"description":"The buyer confirmed they are satisfied.","type":"escrow.buyer_confirmed"},{"description":"Hollyway released the money to the seller. Final.","type":"escrow.released"},{"description":"A dispute is open. Money stays held until the team resolves it.","type":"escrow.disputed"},{"description":"The money went back to the funder. Final.","type":"escrow.refunded"},{"description":"Completed and closed. Final.","type":"escrow.closed"},{"description":"Cancelled before completion. Final.","type":"escrow.cancelled"},{"description":"Not completed in time. Final.","type":"escrow.expired"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"amount_minor":"…","livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"escrow","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"escrow.pending_review"},"extra_fields":["amount_minor"],"key":"escrow","label":"Escrow","statuses":["draft","pending_review","approved","awaiting_party_acceptance","awaiting_funder","payment_pending","payment_verified","payment_proof_submitted","payment_received","payment_rejected","dispatch_booked","in_transit","delivered","inspection","buyer_confirmed","released","disputed","refunded","closed","cancelled","expired"]},{"events":[{"description":"A new one was created.","type":"listing.created"},{"description":"Its status became draft.","type":"listing.draft"},{"description":"Its status became pending review.","type":"listing.pending_review"},{"description":"Its status became approved.","type":"listing.approved"},{"description":"Its status became published.","type":"listing.published"},{"description":"Its status became rejected.","type":"listing.rejected"},{"description":"Its status became sold.","type":"listing.sold"},{"description":"Its status became closed.","type":"listing.closed"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"category":"…","item_name":"…","livemode":true,"previous_status":"draft","quantity":"…","reference":"REF-123456","resource":"listing","status":"pending_review","unit_price_minor":"…"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"listing.pending_review"},"extra_fields":["item_name","category","unit_price_minor","quantity"],"key":"listing","label":"Marketplace listing","statuses":["draft","pending_review","approved","published","rejected","sold","closed"]},{"events":[{"description":"A new one was created.","type":"order.created"},{"description":"Its status became draft.","type":"order.draft"},{"description":"Its status became pending review.","type":"order.pending_review"},{"description":"Its status became confirmed.","type":"order.confirmed"},{"description":"Its status became awaiting payment.","type":"order.awaiting_payment"},{"description":"Its status became payment received.","type":"order.payment_received"},{"description":"Its status became dispatch booked.","type":"order.dispatch_booked"},{"description":"Its status became in transit.","type":"order.in_transit"},{"description":"Its status became delivered.","type":"order.delivered"},{"description":"Its status became inspection.","type":"order.inspection"},{"description":"Its status became buyer confirmed.","type":"order.buyer_confirmed"},{"description":"Its status became completed.","type":"order.completed"},{"description":"Its status became cancelled.","type":"order.cancelled"},{"description":"Its status became disputed.","type":"order.disputed"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"order_type":"…","previous_status":"draft","reference":"REF-123456","resource":"order","status":"pending_review","subtotal_minor":"…"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"order.pending_review"},"extra_fields":["order_type","subtotal_minor"],"key":"order","label":"Order","statuses":["draft","pending_review","confirmed","awaiting_payment","payment_received","dispatch_booked","in_transit","delivered","inspection","buyer_confirmed","completed","cancelled","disputed"]},{"events":[{"description":"A new one was created.","type":"wanted_request.created"},{"description":"Its status became draft.","type":"wanted_request.draft"},{"description":"Its status became pending review.","type":"wanted_request.pending_review"},{"description":"Its status became published.","type":"wanted_request.published"},{"description":"Its status became expired.","type":"wanted_request.expired"},{"description":"Its status became completed.","type":"wanted_request.completed"},{"description":"Its status became cancelled.","type":"wanted_request.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"item_name":"…","livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"wanted_request","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"wanted_request.pending_review"},"extra_fields":["item_name"],"key":"wanted_request","label":"Wanted request","statuses":["draft","pending_review","published","expired","completed","cancelled"]},{"events":[{"description":"A new one was created.","type":"delivery.created"},{"description":"Its status became draft.","type":"delivery.draft"},{"description":"Its status became pending review.","type":"delivery.pending_review"},{"description":"Its status became needs information.","type":"delivery.needs_information"},{"description":"Its status became quoting.","type":"delivery.quoting"},{"description":"Its status became quoted.","type":"delivery.quoted"},{"description":"Its status became quote accepted.","type":"delivery.quote_accepted"},{"description":"Its status became payment pending.","type":"delivery.payment_pending"},{"description":"Its status became booked.","type":"delivery.booked"},{"description":"Its status became picked up.","type":"delivery.picked_up"},{"description":"Its status became in transit.","type":"delivery.in_transit"},{"description":"Its status became delivered.","type":"delivery.delivered"},{"description":"Its status became completed.","type":"delivery.completed"},{"description":"Its status became cancelled.","type":"delivery.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"delivery","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"delivery.pending_review"},"extra_fields":[],"key":"delivery","label":"Delivery booking","statuses":["draft","pending_review","needs_information","quoting","quoted","quote_accepted","payment_pending","booked","picked_up","in_transit","delivered","completed","cancelled"]},{"events":[{"description":"A new one was created.","type":"relocation.created"},{"description":"Its status became draft.","type":"relocation.draft"},{"description":"Its status became pending review.","type":"relocation.pending_review"},{"description":"Its status became needs information.","type":"relocation.needs_information"},{"description":"Its status became quoting.","type":"relocation.quoting"},{"description":"Its status became quoted.","type":"relocation.quoted"},{"description":"Its status became quote accepted.","type":"relocation.quote_accepted"},{"description":"Its status became booked.","type":"relocation.booked"},{"description":"Its status became confirmed.","type":"relocation.confirmed"},{"description":"Its status became in progress.","type":"relocation.in_progress"},{"description":"Its status became completed.","type":"relocation.completed"},{"description":"Its status became cancelled.","type":"relocation.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"relocation","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"relocation.pending_review"},"extra_fields":[],"key":"relocation","label":"Relocation","statuses":["draft","pending_review","needs_information","quoting","quoted","quote_accepted","booked","confirmed","in_progress","completed","cancelled"]},{"events":[{"description":"A new one was created.","type":"professional_request.created"},{"description":"Its status became draft.","type":"professional_request.draft"},{"description":"Its status became pending review.","type":"professional_request.pending_review"},{"description":"Its status became needs information.","type":"professional_request.needs_information"},{"description":"Its status became matching.","type":"professional_request.matching"},{"description":"Its status became quotes ready.","type":"professional_request.quotes_ready"},{"description":"Its status became quote accepted.","type":"professional_request.quote_accepted"},{"description":"Its status became payment pending.","type":"professional_request.payment_pending"},{"description":"Its status became booked.","type":"professional_request.booked"},{"description":"Its status became in progress.","type":"professional_request.in_progress"},{"description":"Its status became completed.","type":"professional_request.completed"},{"description":"Its status became cancelled.","type":"professional_request.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"category":"…","livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"professional_request","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"professional_request.pending_review"},"extra_fields":["category"],"key":"professional_request","label":"Professional service request","statuses":["draft","pending_review","needs_information","matching","quotes_ready","quote_accepted","payment_pending","booked","in_progress","completed","cancelled"]},{"events":[{"description":"A new one was created.","type":"event_request.created"},{"description":"Its status became draft.","type":"event_request.draft"},{"description":"Its status became pending review.","type":"event_request.pending_review"},{"description":"Its status became needs information.","type":"event_request.needs_information"},{"description":"Its status became vendor matching.","type":"event_request.vendor_matching"},{"description":"Its status became quotations ready.","type":"event_request.quotations_ready"},{"description":"Its status became vendor assigned.","type":"event_request.vendor_assigned"},{"description":"Its status became payment pending.","type":"event_request.payment_pending"},{"description":"Its status became payment proof submitted.","type":"event_request.payment_proof_submitted"},{"description":"Its status became confirmed.","type":"event_request.confirmed"},{"description":"Its status became in progress.","type":"event_request.in_progress"},{"description":"Its status became completed.","type":"event_request.completed"},{"description":"Its status became cancelled.","type":"event_request.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"event_type":"…","livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"event_request","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"event_request.pending_review"},"extra_fields":["event_type"],"key":"event_request","label":"Event request","statuses":["draft","pending_review","needs_information","vendor_matching","quotations_ready","vendor_assigned","payment_pending","payment_proof_submitted","confirmed","in_progress","completed","cancelled"]},{"events":[{"description":"A new one was created.","type":"solar_load.created"},{"description":"Its status became analysis required.","type":"solar_load.analysis_required"},{"description":"Its status became matched.","type":"solar_load.matched"},{"description":"Its status became in review.","type":"solar_load.in_review"},{"description":"Its status became quoted.","type":"solar_load.quoted"},{"description":"Its status became closed.","type":"solar_load.closed"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"analysis_required","reference":"REF-123456","resource":"solar_load","status":"analysis_required"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"solar_load.analysis_required"},"extra_fields":[],"key":"solar_load","label":"Solar load plan","statuses":["analysis_required","matched","in_review","quoted","closed"]},{"events":[{"description":"A new one was created.","type":"solar_lead.created"},{"description":"Its status became new.","type":"solar_lead.new"},{"description":"Its status became contacted.","type":"solar_lead.contacted"},{"description":"Its status became assessment.","type":"solar_lead.assessment"},{"description":"Its status became quoted.","type":"solar_lead.quoted"},{"description":"Its status became won.","type":"solar_lead.won"},{"description":"Its status became lost.","type":"solar_lead.lost"},{"description":"Its status became closed.","type":"solar_lead.closed"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"new","reference":"REF-123456","resource":"solar_lead","status":"new"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"solar_lead.new"},"extra_fields":[],"key":"solar_lead","label":"Solar enquiry","statuses":["new","contacted","assessment","quoted","won","lost","closed"]},{"events":[{"description":"A new one was created.","type":"wallet_deposit.created"},{"description":"Its status became pending payment.","type":"wallet_deposit.pending_payment"},{"description":"Its status became proof submitted.","type":"wallet_deposit.proof_submitted"},{"description":"Its status became received.","type":"wallet_deposit.received"},{"description":"Its status became rejected.","type":"wallet_deposit.rejected"},{"description":"Its status became cancelled.","type":"wallet_deposit.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"amount_minor":"…","livemode":true,"previous_status":"pending_payment","reference":"REF-123456","resource":"wallet_deposit","status":"pending_payment"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"wallet_deposit.pending_payment"},"extra_fields":["amount_minor"],"key":"wallet_deposit","label":"Wallet deposit","statuses":["pending_payment","proof_submitted","received","rejected","cancelled"]},{"events":[{"description":"A new one was created.","type":"wallet_payout.created"},{"description":"Its status became pending review.","type":"wallet_payout.pending_review"},{"description":"Its status became paid.","type":"wallet_payout.paid"},{"description":"Its status became rejected.","type":"wallet_payout.rejected"},{"description":"Its status became cancelled.","type":"wallet_payout.cancelled"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"amount_minor":"…","livemode":true,"previous_status":"pending_review","reference":"REF-123456","resource":"wallet_payout","status":"pending_review"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"wallet_payout.pending_review"},"extra_fields":["amount_minor"],"key":"wallet_payout","label":"Wallet payout","statuses":["pending_review","paid","rejected","cancelled"]},{"events":[{"description":"A new one was created.","type":"kyc.created"},{"description":"Its status became not submitted.","type":"kyc.not_submitted"},{"description":"Its status became approved.","type":"kyc.approved"},{"description":"Its status became rejected.","type":"kyc.rejected"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"not_submitted","reference":"REF-123456","resource":"kyc","status":"not_submitted"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"kyc.not_submitted"},"extra_fields":[],"key":"kyc","label":"Identity verification","statuses":["not_submitted","approved","rejected"]},{"events":[{"description":"A new one was created.","type":"business_verification.created"},{"description":"Its status became draft.","type":"business_verification.draft"},{"description":"Its status became verification pending.","type":"business_verification.verification_pending"},{"description":"Its status became verified business.","type":"business_verification.verified_business"},{"description":"Its status became rejected.","type":"business_verification.rejected"},{"description":"Its status became additional review.","type":"business_verification.additional_review"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"company_name":"…","livemode":true,"previous_status":"draft","reference":"REF-123456","resource":"business_verification","status":"verification_pending"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"business_verification.verification_pending"},"extra_fields":["company_name"],"key":"business_verification","label":"Business verification","statuses":["draft","verification_pending","verified_business","rejected","additional_review"]},{"events":[{"description":"A new one was created.","type":"support_ticket.created"},{"description":"Its status became open.","type":"support_ticket.open"},{"description":"Its status became in progress.","type":"support_ticket.in_progress"},{"description":"Its status became resolved.","type":"support_ticket.resolved"},{"description":"Its status became closed.","type":"support_ticket.closed"}],"example":{"created_at":"2026-11-22T17:40:12.123456+00:00","data":{"livemode":true,"previous_status":"open","reference":"REF-123456","resource":"support_ticket","status":"open","subject":"…"},"id":"evt_9f2c4b1d7e3a4c0e8a5b6d7c8e9f0a1b","type":"support_ticket.open"},"extra_fields":["subject"],"key":"support_ticket","label":"Support ticket","statuses":["open","in_progress","resolved","closed"]}],"subscriptions":["The event name is the feature and its real status: `escrow.payment_received`, `order.delivered`, `listing.published`. There are no renamed or grouped events, so the name always matches `data.status` and the status tables in this documentation. When a record is first made the event is `<feature>.created`.","One webhook address can receive everything. Choose **all events** (`*`) and every change to your escrows, listings, orders, wallet, services and account arrives at the same address.","Or choose a whole feature with a wildcard such as `escrow.*` or `listing.*`, or single events such as `escrow.payment_received` or `order.delivered`.","Every event has the same envelope `{id, type, created_at, data}`. Inside `data`, `resource` names the feature, `reference` identifies the record, and `status` and `previous_status` say what changed. Route on `type` or on `data.resource`.","New features and statuses appear automatically. Anything you subscribed to with `*` or a wildcard starts arriving without a change on your side, so ignore events you do not recognise.","Events carry references and amounts, never names, phone numbers, addresses or other personal details. Fetch the record from the API when you need more."],"verify":["Take the raw request body exactly as received (before any JSON parsing).","Read `t` and `v1` from the `Hollyway-Signature` header.","Compute HMAC-SHA256 of the text `t + \".\" + raw_body` using your endpoint secret as the key, as lowercase hex.","Compare it to `v1` with a constant-time comparison.","Reject the event if `t` is more than 5 minutes old, to block replays."]}},"x-webhooks":{"business_verification.additional_review":{"description":"Business verification: status became additional review"},"business_verification.created":{"description":"Business verification: a new one was created"},"business_verification.draft":{"description":"Business verification: status became draft"},"business_verification.rejected":{"description":"Business verification: status became rejected"},"business_verification.verification_pending":{"description":"Business verification: status became verification pending"},"business_verification.verified_business":{"description":"Business verification: status became verified business"},"delivery.booked":{"description":"Delivery booking: status became booked"},"delivery.cancelled":{"description":"Delivery booking: status became cancelled"},"delivery.completed":{"description":"Delivery booking: status became completed"},"delivery.created":{"description":"Delivery booking: a new one was created"},"delivery.delivered":{"description":"Delivery booking: status became delivered"},"delivery.draft":{"description":"Delivery booking: status became draft"},"delivery.in_transit":{"description":"Delivery booking: status became in transit"},"delivery.needs_information":{"description":"Delivery booking: status became needs information"},"delivery.payment_pending":{"description":"Delivery booking: status became payment pending"},"delivery.pending_review":{"description":"Delivery booking: status became pending review"},"delivery.picked_up":{"description":"Delivery booking: status became picked up"},"delivery.quote_accepted":{"description":"Delivery booking: status became quote accepted"},"delivery.quoted":{"description":"Delivery booking: status became quoted"},"delivery.quoting":{"description":"Delivery booking: status became quoting"},"escrow.approved":{"description":"Escrow: status became approved"},"escrow.awaiting_funder":{"description":"Escrow: status became awaiting funder"},"escrow.awaiting_party_acceptance":{"description":"Escrow: status became awaiting party acceptance"},"escrow.buyer_confirmed":{"description":"Escrow: status became buyer confirmed"},"escrow.cancelled":{"description":"Escrow: status became cancelled"},"escrow.closed":{"description":"Escrow: status became closed"},"escrow.created":{"description":"Escrow: a new one was created"},"escrow.delivered":{"description":"Escrow: status became delivered"},"escrow.dispatch_booked":{"description":"Escrow: status became dispatch booked"},"escrow.disputed":{"description":"Escrow: status became disputed"},"escrow.draft":{"description":"Escrow: status became draft"},"escrow.expired":{"description":"Escrow: status became expired"},"escrow.in_transit":{"description":"Escrow: status became in transit"},"escrow.inspection":{"description":"Escrow: status became inspection"},"escrow.payment_pending":{"description":"Escrow: status became payment pending"},"escrow.payment_proof_submitted":{"description":"Escrow: status became payment proof submitted"},"escrow.payment_received":{"description":"Escrow: status became payment received"},"escrow.payment_rejected":{"description":"Escrow: status became payment rejected"},"escrow.payment_verified":{"description":"Escrow: status became payment verified"},"escrow.pending_review":{"description":"Escrow: status became pending review"},"escrow.refunded":{"description":"Escrow: status became refunded"},"escrow.released":{"description":"Escrow: status became released"},"event_request.cancelled":{"description":"Event request: status became cancelled"},"event_request.completed":{"description":"Event request: status became completed"},"event_request.confirmed":{"description":"Event request: status became confirmed"},"event_request.created":{"description":"Event request: a new one was created"},"event_request.draft":{"description":"Event request: status became draft"},"event_request.in_progress":{"description":"Event request: status became in progress"},"event_request.needs_information":{"description":"Event request: status became needs information"},"event_request.payment_pending":{"description":"Event request: status became payment pending"},"event_request.payment_proof_submitted":{"description":"Event request: status became payment proof submitted"},"event_request.pending_review":{"description":"Event request: status became pending review"},"event_request.quotations_ready":{"description":"Event request: status became quotations ready"},"event_request.vendor_assigned":{"description":"Event request: status became vendor assigned"},"event_request.vendor_matching":{"description":"Event request: status became vendor matching"},"kyc.approved":{"description":"Identity verification: status became approved"},"kyc.created":{"description":"Identity verification: a new one was created"},"kyc.not_submitted":{"description":"Identity verification: status became not submitted"},"kyc.rejected":{"description":"Identity verification: status became rejected"},"listing.approved":{"description":"Marketplace listing: status became approved"},"listing.closed":{"description":"Marketplace listing: status became closed"},"listing.created":{"description":"Marketplace listing: a new one was created"},"listing.draft":{"description":"Marketplace listing: status became draft"},"listing.pending_review":{"description":"Marketplace listing: status became pending review"},"listing.published":{"description":"Marketplace listing: status became published"},"listing.rejected":{"description":"Marketplace listing: status became rejected"},"listing.sold":{"description":"Marketplace listing: status became sold"},"order.awaiting_payment":{"description":"Order: status became awaiting payment"},"order.buyer_confirmed":{"description":"Order: status became buyer confirmed"},"order.cancelled":{"description":"Order: status became cancelled"},"order.completed":{"description":"Order: status became completed"},"order.confirmed":{"description":"Order: status became confirmed"},"order.created":{"description":"Order: a new one was created"},"order.delivered":{"description":"Order: status became delivered"},"order.dispatch_booked":{"description":"Order: status became dispatch booked"},"order.disputed":{"description":"Order: status became disputed"},"order.draft":{"description":"Order: status became draft"},"order.in_transit":{"description":"Order: status became in transit"},"order.inspection":{"description":"Order: status became inspection"},"order.payment_received":{"description":"Order: status became payment received"},"order.pending_review":{"description":"Order: status became pending review"},"professional_request.booked":{"description":"Professional service request: status became booked"},"professional_request.cancelled":{"description":"Professional service request: status became cancelled"},"professional_request.completed":{"description":"Professional service request: status became completed"},"professional_request.created":{"description":"Professional service request: a new one was created"},"professional_request.draft":{"description":"Professional service request: status became draft"},"professional_request.in_progress":{"description":"Professional service request: status became in progress"},"professional_request.matching":{"description":"Professional service request: status became matching"},"professional_request.needs_information":{"description":"Professional service request: status became needs information"},"professional_request.payment_pending":{"description":"Professional service request: status became payment pending"},"professional_request.pending_review":{"description":"Professional service request: status became pending review"},"professional_request.quote_accepted":{"description":"Professional service request: status became quote accepted"},"professional_request.quotes_ready":{"description":"Professional service request: status became quotes ready"},"relocation.booked":{"description":"Relocation: status became booked"},"relocation.cancelled":{"description":"Relocation: status became cancelled"},"relocation.completed":{"description":"Relocation: status became completed"},"relocation.confirmed":{"description":"Relocation: status became confirmed"},"relocation.created":{"description":"Relocation: a new one was created"},"relocation.draft":{"description":"Relocation: status became draft"},"relocation.in_progress":{"description":"Relocation: status became in progress"},"relocation.needs_information":{"description":"Relocation: status became needs information"},"relocation.pending_review":{"description":"Relocation: status became pending review"},"relocation.quote_accepted":{"description":"Relocation: status became quote accepted"},"relocation.quoted":{"description":"Relocation: status became quoted"},"relocation.quoting":{"description":"Relocation: status became quoting"},"solar_lead.assessment":{"description":"Solar enquiry: status became assessment"},"solar_lead.closed":{"description":"Solar enquiry: status became closed"},"solar_lead.contacted":{"description":"Solar enquiry: status became contacted"},"solar_lead.created":{"description":"Solar enquiry: a new one was created"},"solar_lead.lost":{"description":"Solar enquiry: status became lost"},"solar_lead.new":{"description":"Solar enquiry: status became new"},"solar_lead.quoted":{"description":"Solar enquiry: status became quoted"},"solar_lead.won":{"description":"Solar enquiry: status became won"},"solar_load.analysis_required":{"description":"Solar load plan: status became analysis required"},"solar_load.closed":{"description":"Solar load plan: status became closed"},"solar_load.created":{"description":"Solar load plan: a new one was created"},"solar_load.in_review":{"description":"Solar load plan: status became in review"},"solar_load.matched":{"description":"Solar load plan: status became matched"},"solar_load.quoted":{"description":"Solar load plan: status became quoted"},"support_ticket.closed":{"description":"Support ticket: status became closed"},"support_ticket.created":{"description":"Support ticket: a new one was created"},"support_ticket.in_progress":{"description":"Support ticket: status became in progress"},"support_ticket.open":{"description":"Support ticket: status became open"},"support_ticket.resolved":{"description":"Support ticket: status became resolved"},"wallet_deposit.cancelled":{"description":"Wallet deposit: status became cancelled"},"wallet_deposit.created":{"description":"Wallet deposit: a new one was created"},"wallet_deposit.pending_payment":{"description":"Wallet deposit: status became pending payment"},"wallet_deposit.proof_submitted":{"description":"Wallet deposit: status became proof submitted"},"wallet_deposit.received":{"description":"Wallet deposit: status became received"},"wallet_deposit.rejected":{"description":"Wallet deposit: status became rejected"},"wallet_payout.cancelled":{"description":"Wallet payout: status became cancelled"},"wallet_payout.created":{"description":"Wallet payout: a new one was created"},"wallet_payout.paid":{"description":"Wallet payout: status became paid"},"wallet_payout.pending_review":{"description":"Wallet payout: status became pending review"},"wallet_payout.rejected":{"description":"Wallet payout: status became rejected"},"wanted_request.cancelled":{"description":"Wanted request: status became cancelled"},"wanted_request.completed":{"description":"Wanted request: status became completed"},"wanted_request.created":{"description":"Wanted request: a new one was created"},"wanted_request.draft":{"description":"Wanted request: status became draft"},"wanted_request.expired":{"description":"Wanted request: status became expired"},"wanted_request.pending_review":{"description":"Wanted request: status became pending review"},"wanted_request.published":{"description":"Wanted request: status became published"}}}