Download OpenAPI specification:Download
Server-to-server API for partners — banks, brokers and fintech apps — that bring investors to Amtaar, the Egyptian fractional real-estate platform.
With it a partner can show Amtaar properties in its own app, open or link its customers' Amtaar accounts, place share purchases (settled by the partner or paid by card), follow every order to completion, read holdings and rental income, and track its commissions — with webhooks for every change.
| Base URL | Keys start with | |
|---|---|---|
| Sandbox | sent to you with your sandbox keys | amtk_sandbox_ |
| Live | https://api.amtaar.co/open/v1 |
amtk_live_ |
A key only works on the environment that issued it. This server is the live environment. Sandbox has extra /sandbox/* endpoints that move orders and KYC along so you can test webhooks end to end; it never moves real money.
Authorization: Bearer amtk_live_<keyId>_<secret>
Keys are issued by Amtaar (shown once — store them in a secret manager), carry scopes, and can be limited to your server IPs. What a key may do is also bounded by your partner account's capabilities, which Amtaar switches on as the partnership agreement allows: createCustomers, linkExistingCustomers, partnerKycReliance, partnerSettlementOrders, cardCheckoutOrders, portfolioAccess, walletAccess. GET /me shows yours.
cus_, ord_, prop_, evt_, we_ …). Treat them as opaque.?limit=20&cursor=<nextCursor>.metadata: up to 20 string key/value pairs of yours on customers and orders, returned as given.POST /customers, POST /orders and POST /orders/{id}/settlement require an Idempotency-Key header. Always retry a failed or timed-out call with the same key.RateLimit-* headers on every answer; 429 + Retry-After when exceeded.X-Request-ID (send your own to correlate) and Amtaar-Api-Version: 2026-10-18./v1 only changes in backward-compatible ways: new endpoints, new optional request fields, new response fields, new event types, new enum values. Ignore fields you do not know and handle unknown enum values gracefully. A breaking change would ship as /v2, with /v1 kept running for at least 6 months.
{ "error": { "type": "invalid_request", "code": "invalid_phone", "message": "…", "param": "phone", "requestId": "…" } }
type is one of invalid_request (400), authentication_error (401), permission_denied (403), not_found (404), conflict (409), unprocessable / idempotency_error (422), rate_limited (429), api_error (500), service_unavailable (503). code is the precise, stable reason — branch on it, not on message.
A. Referral — the customer buys in the Amtaar app. POST /customers (opens or links the account, attributed to you) → send the customer to links.app → they sign in to the Amtaar app with the same mobile number, finish KYC and invest → you receive customer.kyc_verified, order.created … order.completed and commission.created.
B. Embedded purchase, settled by the partner. POST /customers → POST /quotes to show the price → debit your customer → POST /orders with funding.method = partner_settlement and the settlement (reference + exact amount) → transfer the money to Amtaar's account → Amtaar Finance confirms it (order.paid) → ownership is issued when the unit's funding closes (order.completed).
C. Embedded purchase, paid by card. POST /orders with funding.method = card_checkout → open funding.checkoutUrl (Paymob) in a web view → order.paid → order.completed.
awaiting_payment → payment_under_review (settlement or transfer proof received, Finance checking) → paid (money confirmed; waiting for the unit to be fully funded and ownership to be issued) → completed (the customer owns the shares; contract follows).
Other outcomes: cancelled (by you, by the customer, or because the hold expired unpaid — shares are released), payment_rejected, cancellation_requested (the customer asked to cancel a paid order; Amtaar reviews it), refunded.
An unpaid API order keeps its shares reserved until expiresAt (your hold time, default 24 h; card checkout 60 min).
Register endpoints with POST /webhook-endpoints (or ask Amtaar). Each event is POSTed as the Event object. Verify every delivery:
Amtaar-Signature: t=1760000000,v1=5257a869e7ecebeda32affa62cdca3fa51cad7e77a0e56ff536d0ce8e108d8bd
expected = hex(HMAC_SHA256(endpoint_secret, t + "." + raw_request_body))
Compare in constant time and reject timestamps older than 5 minutes. Answer 2xx within 10 seconds (queue the work); anything else is retried after 1 m, 5 m, 15 m, 1 h, 3 h, 6 h, 12 h and 24 h. Deliveries can arrive more than once and out of order — deduplicate by Amtaar-Event-Id and re-read the object (GET /orders/{id}) when order matters. If you were offline, catch up with GET /events?after=<last event id>. Events are generated within about a minute of the change and kept 180 days.
Event types: customer.created, customer.linked, customer.kyc_verified, customer.unlinked, order.created, order.payment_under_review, order.paid, order.completed, order.cancelled, order.payment_rejected, order.refunded, order.cancellation_requested, payout.paid, commission.created, webhook.test.
You only see customers linked to you. Linking an existing Amtaar investor needs their consent: Amtaar texts them a code that you must collect from them. Holdings, payouts and wallet are only available with the matching capability and scope. Use the data only for the purposes in your partnership agreement; DELETE /customers/{id} removes the link (the Amtaar account stays).
Use it as a health check for your key.
| object | any Value: "account" |
object | |
| environment | string Enum: "live" "sandbox" |
object | |
object | |
object | |
object | |
object |
{- "object": "account",
- "partner": {
- "name": "string",
- "mode": "live"
}, - "environment": "live",
- "apiKey": {
- "id": "string",
- "name": "string",
- "prefix": "string",
- "scopes": [
- "properties:read"
], - "expiresAt": "2019-08-24T14:15:22Z"
}, - "capabilities": {
- "createCustomers": true,
- "linkExistingCustomers": true,
- "partnerKycReliance": true,
- "partnerSettlementOrders": true,
- "cardCheckoutOrders": true,
- "portfolioAccess": true,
- "walletAccess": true
}, - "limits": {
- "requestsPerMinute": 0,
- "maxOrderAmount": 0,
- "dailyOrderAmountCap": 0,
- "orderHoldMinutes": 0
}, - "links": {
- "app": "string",
- "appSecondary": "string"
}, - "commission": {
- "purchaseCommissionPercent": 0,
- "commissionBase": "string",
- "signupFee": 0
}
}Published properties, newest first. Drafts and internal test units never appear.
Scope: properties:read
| status | string Example: status=available available, funded, resale — comma-separated. |
| city | string |
| search | string Matches name (EN/AR), code, city, address, project. |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Property) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "property",
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}, - "description": {
- "en": "string",
- "ar": "string"
}, - "type": "Office",
- "project": "string",
- "developer": "string",
- "location": {
- "address": "string",
- "city": "string",
- "country": "string",
- "mapUrl": "string"
}, - "areaSqm": 0,
- "status": "available",
- "isRented": true,
- "media": {
- "cover": "string",
- "images": [
- "string"
]
}, - "shares": {
- "total": 0,
- "available": 0,
- "sold": 0,
- "reserved": 0,
- "minimumPerOrder": 0
}, - "pricing": {
- "currency": "string",
- "pricePerShare": 0,
- "managementFeePercent": 0
}, - "forecast": {
- "roiPercent": 0,
- "rentalYieldPercent": 0,
- "capitalGainPercent": 0,
- "years": 0
}, - "fundingDeadline": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}By id (prop_…) or property code (AMT-26-017).
Scope: properties:read
| id required | string Example: prop_6712c0ffee0123456789abcd Property id or code |
| object | any Value: "property" |
| id | string prop_… |
| code | string or null |
object (LocalizedText) | |
object (LocalizedText) | |
| type | string or null |
| project | string or null |
| developer | string or null |
object | |
| areaSqm | number or null |
| status | string Enum: "available" "funded" "resale" available = open for investment |
| isRented | boolean |
object | |
object | |
object | |
object Amtaar's projections, not guarantees | |
| fundingDeadline | string or null <date-time> |
| updatedAt | string or null <date-time> |
{- "object": "property",
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}, - "description": {
- "en": "string",
- "ar": "string"
}, - "type": "Office",
- "project": "string",
- "developer": "string",
- "location": {
- "address": "string",
- "city": "string",
- "country": "string",
- "mapUrl": "string"
}, - "areaSqm": 0,
- "status": "available",
- "isRented": true,
- "media": {
- "cover": "string",
- "images": [
- "string"
]
}, - "shares": {
- "total": 0,
- "available": 0,
- "sold": 0,
- "reserved": 0,
- "minimumPerOrder": 0
}, - "pricing": {
- "currency": "string",
- "pricePerShare": 0,
- "managementFeePercent": 0
}, - "forecast": {
- "roiPercent": 0,
- "rentalYieldPercent": 0,
- "capitalGainPercent": 0,
- "years": 0
}, - "fundingDeadline": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}Indicative price of N shares, with fees, exactly as an order would be priced now. Reserves nothing.
Scope: properties:read
| property required | string Property id or code |
| shares required | integer >= 1 |
| object | any Value: "quote" |
object (PropertyRef) | |
| shares | integer |
| currency | string |
| pricePerShare | number Price of one share (EGP, 2 decimals) |
| subtotal | number shares × price (EGP, 2 decimals) |
Array of objects | |
| total | number What the order would cost (EGP, 2 decimals) |
| available | boolean |
| sharesAvailable | integer |
| note | string |
| quotedAt | string or null <date-time> |
{- "property": "AMT-26-017",
- "shares": 10
}{- "object": "quote",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "currency": "string",
- "pricePerShare": 0,
- "subtotal": 0,
- "fees": [
- {
- "type": "management_fee",
- "percent": 0,
- "amount": 0
}
], - "total": 0,
- "available": true,
- "sharesAvailable": 0,
- "note": "string",
- "quotedAt": "2019-08-24T14:15:22Z"
}Give the customer's Egyptian mobile number (the one they will use in the Amtaar app).
201, status onboarding or active). Needs createCustomers.201, status pending_consent); nothing about them is shared until they confirm the code Amtaar texts them (/consent, /consent/verify). Needs linkExistingCustomers.externalId) → the existing customer (200).kyc lets you vouch for your own regulated KYC of this person; it counts for API orders only if your account has partnerKycReliance. Otherwise the customer completes Amtaar KYC in the app.
Scope: customers:write
| Idempotency-Key required | string [ 8 .. 255 ] characters Unique value per operation (a UUID). Retrying with the same key and body returns the first answer and never repeats the action. Kept 24 hours. |
| phone required | string Egyptian mobile, any common format (+2010…, 010…) |
| externalId | string <= 128 characters Your id for this person (unique per partner) |
string <email> | |
object (LocalizedText) | |
| language | string Default: "en" Enum: "en" "ar" |
| nationalId | string 14-digit Egyptian national ID — only used to stop duplicate accounts; not stored |
object (KycAttestation) Your own KYC of this person. Counts for API orders only with the partnerKycReliance capability. | |
object (Metadata) <= 20 properties Your key/value pairs |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "phone": "+201001234567",
- "externalId": "telda-user-88213"
}{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}Your customers, newest first.
Scope: customers:read
| externalId | string |
| status | string Enum: "pending_consent" "active" "unlinked" Link status. |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Customer) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}Includes KYC progress (kyc.missingSteps) and whether they can invest through the API (canInvest).
Scope: customers:read
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}Change your externalId, metadata (merged; a null value removes a key) or your kyc attestation (null withdraws it). The person's own data is theirs to change in the app.
Scope: customers:write
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| externalId | string or null |
object (Metadata) <= 20 properties Your key/value pairs | |
KycAttestation (object) or null |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "externalId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "kyc": {
- "provider": "string",
- "reference": "string",
- "level": "string",
- "verifiedAt": "2019-08-24T14:15:22Z"
}
}{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}Stops all access and events for this customer. Their Amtaar account, holdings and attribution are not affected.
Scope: customers:write
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}For a pending_consent customer: Amtaar texts them a 6-digit code (valid 10 minutes; at most one per minute, five per link). In sandbox no SMS is sent and the code is returned as sandboxCode.
Scope: customers:write
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
{- "object": "consent_request",
- "customer": "string",
- "sentTo": "string",
- "expiresAt": "2019-08-24T14:15:22Z",
- "sandboxCode": "string"
}The code the customer read out to you. Five wrong tries cancel the code. On success the customer becomes linked (event customer.linked).
Scope: customers:write
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| code required | string^\d{6}$ 6 digits |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "code": "string"
}{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}Shares the customer owns per property, what they paid, and total rental income received.
Scope: portfolio:read · Capability: portfolioAccess (switched on by Amtaar)
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object | any Value: "portfolio" |
| customer | string |
| currency | string |
object | |
Array of objects (Holding) |
{- "object": "portfolio",
- "customer": "string",
- "currency": "string",
- "summary": {
- "properties": 0,
- "shares": 0,
- "investedAmount": 0,
- "rentalIncomeReceived": 0
}, - "holdings": [
- {
- "object": "holding",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "investedAmount": 0,
- "currency": "string",
- "status": "active",
- "firstPurchasedAt": "2019-08-24T14:15:22Z"
}
]
}Rental income paid to the customer's Amtaar wallet, newest first.
Scope: portfolio:read · Capability: portfolioAccess (switched on by Amtaar)
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Payout) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}Contract numbers and signing status. Documents are available to the customer in the Amtaar app.
Scope: portfolio:read · Capability: portfolioAccess (switched on by Amtaar)
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object required | any Value: "list" |
required | Array of objects (Contract) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "contract",
- "id": "string",
- "number": "IC-2026-0466",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "status": "preparing",
- "signedAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}The customer's Amtaar wallet: cash (rental income, top-ups, refunds) and rewards; reserved is held for pending orders or withdrawals.
Scope: wallet:read · Capability: walletAccess (switched on by Amtaar)
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object | any Value: "wallet" |
| customer | string |
| currency | string |
object | |
object | |
| total | number Available cash + available rewards |
{- "object": "wallet",
- "customer": "string",
- "currency": "string",
- "cash": {
- "available": 0,
- "reserved": 0
}, - "rewards": {
- "available": 0,
- "reserved": 0
}, - "total": 0
}Reserves the shares at today's price and opens the order. The customer must be linked and able to invest (canInvest).
partner_settlement (needs partnerSettlementOrders): you collect the money from your customer. Include funding.settlement now if you already debited them, or call /orders/{id}/settlement before expiresAt. The amount must equal amounts.payable.card_checkout (needs cardCheckoutOrders): open funding.checkoutUrl for the customer within 60 minutes.Your per-order and daily limits apply (see GET /me).
Scope: orders:write
| Idempotency-Key required | string [ 8 .. 255 ] characters Unique value per operation (a UUID). Retrying with the same key and body returns the first answer and never repeats the action. Kept 24 hours. |
| customer required | string cus_… |
| property required | string Property id or code |
| shares required | integer >= 1 |
required | object |
| externalReference | string <= 128 characters Your order id (unique per partner) |
object (Metadata) <= 20 properties Your key/value pairs |
| object | any Value: "order" |
| id | string ord_… |
| number | string Amtaar order number |
| customer | string cus_… |
| status | string Enum: "awaiting_payment" "payment_under_review" "paid" "completed" "cancelled" "payment_rejected" "cancellation_requested" "refunded" |
| source | string Enum: "api" "app" |
| externalReference | string or null |
Array of objects | |
PropertyRef (object) or null Set when the order has one property (API orders always do) | |
| shares | integer |
object | |
object | |
| expiresAt | string or null <date-time> When the unpaid reservation ends |
object or null | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| updatedAt | string or null <date-time> |
| completedAt | string or null <date-time> |
{- "customer": "cus_6712c0ffee0123456789abcd",
- "property": "AMT-26-017",
- "shares": 10,
- "externalReference": "telda-ord-55120",
- "funding": {
- "method": "partner_settlement",
- "settlement": {
- "reference": "TRX-99812",
- "amount": 102667.12,
- "paidAt": "2026-10-18T09:30:00Z"
}
}, - "metadata": {
- "campaign": "oct-launch"
}
}{- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}Orders you placed (source=api) and orders your linked customers placed in the Amtaar app (source=app).
Scope: orders:read
| customer | string |
| status | string Public status, comma-separated. |
| source | string Enum: "api" "app" |
| externalReference | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Order) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}The current state — the source of truth when webhooks arrive out of order.
Scope: orders:read
| id required | string Example: ord_6712c0ffee0123456789abcd Order id |
| object | any Value: "order" |
| id | string ord_… |
| number | string Amtaar order number |
| customer | string cus_… |
| status | string Enum: "awaiting_payment" "payment_under_review" "paid" "completed" "cancelled" "payment_rejected" "cancellation_requested" "refunded" |
| source | string Enum: "api" "app" |
| externalReference | string or null |
Array of objects | |
PropertyRef (object) or null Set when the order has one property (API orders always do) | |
| shares | integer |
object | |
object | |
| expiresAt | string or null <date-time> When the unpaid reservation ends |
object or null | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| updatedAt | string or null <date-time> |
| completedAt | string or null <date-time> |
{- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}For a partner_settlement order awaiting payment: the reference and exact amount of the transfer you are making to Amtaar. The order moves to payment_under_review until Amtaar Finance confirms the money arrived.
Scope: orders:write · Capability: partnerSettlementOrders (switched on by Amtaar)
| id required | string Example: ord_6712c0ffee0123456789abcd Order id |
| Idempotency-Key required | string [ 8 .. 255 ] characters Unique value per operation (a UUID). Retrying with the same key and body returns the first answer and never repeats the action. Kept 24 hours. |
| reference required | string Your transfer / transaction reference to Amtaar's account |
| amount required | number Must equal the order's amounts.payable (EGP, 2 decimals) |
| paidAt | string <date-time> |
| proofUrl | string https link to a transfer receipt, if you have one |
| note | string <= 300 characters Free text for Amtaar Finance |
| object | any Value: "order" |
| id | string ord_… |
| number | string Amtaar order number |
| customer | string cus_… |
| status | string Enum: "awaiting_payment" "payment_under_review" "paid" "completed" "cancelled" "payment_rejected" "cancellation_requested" "refunded" |
| source | string Enum: "api" "app" |
| externalReference | string or null |
Array of objects | |
PropertyRef (object) or null Set when the order has one property (API orders always do) | |
| shares | integer |
object | |
object | |
| expiresAt | string or null <date-time> When the unpaid reservation ends |
object or null | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| updatedAt | string or null <date-time> |
| completedAt | string or null <date-time> |
{- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "proofUrl": "string",
- "note": "string"
}{- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}Only orders you placed, while awaiting_payment. The shares are released at once. A paid order can only be cancelled by the customer in the app (fees may apply).
Scope: orders:write
| id required | string Example: ord_6712c0ffee0123456789abcd Order id |
| Idempotency-Key | string [ 8 .. 255 ] characters Unique value per operation (a UUID). Retrying with the same key and body returns the first answer and never repeats the action. Kept 24 hours. |
| reason | string <= 200 characters Shown to Amtaar staff |
| object | any Value: "order" |
| id | string ord_… |
| number | string Amtaar order number |
| customer | string cus_… |
| status | string Enum: "awaiting_payment" "payment_under_review" "paid" "completed" "cancelled" "payment_rejected" "cancellation_requested" "refunded" |
| source | string Enum: "api" "app" |
| externalReference | string or null |
Array of objects | |
PropertyRef (object) or null Set when the order has one property (API orders always do) | |
| shares | integer |
object | |
object | |
| expiresAt | string or null <date-time> When the unpaid reservation ends |
object or null | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| updatedAt | string or null <date-time> |
| completedAt | string or null <date-time> |
{- "reason": "string"
}{- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}Every credit and debit on your partner ledger: signup fees, purchase commissions, bonuses, payouts to you, adjustments and reversals. testMode rows were recorded while your account was in test (dry-run) mode and are not payable.
Scope: commissions:read
| type | string signup_fee, purchase_commission, bonus, payout, adjustment, reversal — comma-separated. |
| from | string <date-time> |
| to | string <date-time> |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Commission) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}Totals earned and paid out, and the balance Amtaar owes you (test-mode rows excluded).
Scope: commissions:read
| object | any Value: "commission_summary" |
| currency | string |
object | |
object | |
| paidOut | number |
| balance | number Owed to you now |
{- "object": "commission_summary",
- "currency": "string",
- "earned": {
- "signupFees": 0,
- "purchaseCommissions": 0,
- "bonuses": 0,
- "adjustments": 0
}, - "counts": {
- "signups": 0,
- "purchases": 0
}, - "paidOut": 0,
- "balance": 0
}Newest first. With after=<event id> the list is oldest first from that event on — use it to catch up after downtime (repeat with lastEventId until hasMore is false).
Scope: events:read
| type | string Comma-separated event types. |
| after | string Event id to continue after. |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (Event) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}
], - "hasMore": true,
- "nextCursor": "string"
}Scope: events:read
| id required | string Example: evt_6712c0ffee0123456789abcd Event id |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Scope: webhooks:manage
| object required | any Value: "list" |
required | Array of objects (WebhookEndpoint) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "webhook_endpoint",
- "id": "string",
- "url": "string",
- "description": "string",
- "events": [
- "string"
], - "status": "enabled",
- "disabledReason": "string",
- "secretPrefix": "string",
- "secret": "string",
- "lastSuccessAt": "2019-08-24T14:15:22Z",
- "lastFailureAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}Live endpoints must be public https URLs. The signing secret is returned only in this answer. At most 10 endpoints.
Scope: webhooks:manage
| url required | string <uri> |
| events | Array of strings Default: ["*"] Items Enum: "*" "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| description | string <= 200 characters |
| object | any Value: "webhook_endpoint" |
| id | string we_… |
| url | string |
| description | string or null |
| events | Array of strings |
| status | string Enum: "enabled" "disabled" |
| disabledReason | string or null |
| secretPrefix | string |
| secret | string Only when created or rotated |
| lastSuccessAt | string or null <date-time> |
| lastFailureAt | string or null <date-time> |
| createdAt | string or null <date-time> |
{- "events": [
- "order.paid",
- "order.completed",
- "customer.kyc_verified"
]
}{- "object": "webhook_endpoint",
- "id": "string",
- "url": "string",
- "description": "string",
- "events": [
- "string"
], - "status": "enabled",
- "disabledReason": "string",
- "secretPrefix": "string",
- "secret": "string",
- "lastSuccessAt": "2019-08-24T14:15:22Z",
- "lastFailureAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Scope: webhooks:manage
| id required | string Example: we_6712c0ffee0123456789abcd Endpoint id |
| object | any Value: "webhook_endpoint" |
| id | string we_… |
| url | string |
| description | string or null |
| events | Array of strings |
| status | string Enum: "enabled" "disabled" |
| disabledReason | string or null |
| secretPrefix | string |
| secret | string Only when created or rotated |
| lastSuccessAt | string or null <date-time> |
| lastFailureAt | string or null <date-time> |
| createdAt | string or null <date-time> |
{- "object": "webhook_endpoint",
- "id": "string",
- "url": "string",
- "description": "string",
- "events": [
- "string"
], - "status": "enabled",
- "disabledReason": "string",
- "secretPrefix": "string",
- "secret": "string",
- "lastSuccessAt": "2019-08-24T14:15:22Z",
- "lastFailureAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Change url, events, description, or status (enabled re-enables an endpoint that was disabled after repeated failures).
Scope: webhooks:manage
| id required | string Example: we_6712c0ffee0123456789abcd Endpoint id |
| url | string <uri> |
| events | Array of strings |
| description | string or null |
| status | string Enum: "enabled" "disabled" |
| object | any Value: "webhook_endpoint" |
| id | string we_… |
| url | string |
| description | string or null |
| events | Array of strings |
| status | string Enum: "enabled" "disabled" |
| disabledReason | string or null |
| secretPrefix | string |
| secret | string Only when created or rotated |
| lastSuccessAt | string or null <date-time> |
| lastFailureAt | string or null <date-time> |
| createdAt | string or null <date-time> |
{- "events": [
- "string"
], - "description": "string",
- "status": "enabled"
}{- "object": "webhook_endpoint",
- "id": "string",
- "url": "string",
- "description": "string",
- "events": [
- "string"
], - "status": "enabled",
- "disabledReason": "string",
- "secretPrefix": "string",
- "secret": "string",
- "lastSuccessAt": "2019-08-24T14:15:22Z",
- "lastFailureAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}The old secret stops working immediately; the new one is in this answer only.
Scope: webhooks:manage
| id required | string Example: we_6712c0ffee0123456789abcd Endpoint id |
| object | any Value: "webhook_endpoint" |
| id | string we_… |
| url | string |
| description | string or null |
| events | Array of strings |
| status | string Enum: "enabled" "disabled" |
| disabledReason | string or null |
| secretPrefix | string |
| secret | string Only when created or rotated |
| lastSuccessAt | string or null <date-time> |
| lastFailureAt | string or null <date-time> |
| createdAt | string or null <date-time> |
{- "object": "webhook_endpoint",
- "id": "string",
- "url": "string",
- "description": "string",
- "events": [
- "string"
], - "status": "enabled",
- "disabledReason": "string",
- "secretPrefix": "string",
- "secret": "string",
- "lastSuccessAt": "2019-08-24T14:15:22Z",
- "lastFailureAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}Delivers a signed webhook.test event now and reports your server's answer.
Scope: webhooks:manage
| id required | string Example: we_6712c0ffee0123456789abcd Endpoint id |
| ok | boolean |
| statusCode | integer or null |
| error | string or null |
| durationMs | integer |
| eventId | string |
| deliveryId | string |
{- "ok": true,
- "statusCode": 0,
- "error": "string",
- "durationMs": 0,
- "eventId": "string",
- "deliveryId": "string"
}Delivery attempts and their outcome, newest first.
Scope: webhooks:manage
| status | string Enum: "pending" "succeeded" "failed" |
| endpoint | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string nextCursor from the previous page. |
| object required | any Value: "list" |
required | Array of objects (WebhookDelivery) |
| hasMore required | boolean |
| nextCursor | string or null Pass as |
{- "object": "list",
- "data": [
- {
- "object": "webhook_delivery",
- "id": "string",
- "endpoint": "string",
- "event": "string",
- "eventType": "string",
- "status": "pending",
- "attempts": 0,
- "nextAttemptAt": "2019-08-24T14:15:22Z",
- "lastStatusCode": 0,
- "lastError": "string",
- "deliveredAt": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "hasMore": true,
- "nextCursor": "string"
}Marks the customer as fully verified, as if they finished KYC in the app. Fires customer.kyc_verified within a minute.
Scope: customers:write
| id required | string Example: cus_6712c0ffee0123456789abcd Customer id |
| object | any Value: "customer" |
| id | string cus_… |
| externalId | string or null |
| status | string Enum: "pending_consent" "onboarding" "active" "suspended" "unlinked" pending_consent = waiting for the code; onboarding = linked, cannot invest yet; active = can invest; suspended = account blocked by Amtaar |
| origin | string Enum: "created" "linked" |
| phone | string or null Masked until linked |
string or null | |
object (LocalizedText) | |
| language | string |
object | |
| canInvest | boolean Whether POST /orders will accept this customer now |
object | |
object | |
object | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| linkedAt | string or null <date-time> |
{- "object": "customer",
- "id": "string",
- "externalId": "string",
- "status": "pending_consent",
- "origin": "created",
- "phone": "string",
- "email": "string",
- "name": {
- "en": "string",
- "ar": "string"
}, - "language": "string",
- "kyc": {
- "status": "verified",
- "amtaarVerified": true,
- "partnerAttested": true,
- "missingSteps": [
- "phone_verification"
], - "steps": {
- "phoneVerified": true,
- "emailVerified": true,
- "pinCreated": true,
- "identityVerified": true
}
}, - "canInvest": true,
- "attribution": {
- "attributedToYou": true,
- "attributedAt": "2019-08-24T14:15:22Z"
}, - "links": {
- "app": "string"
}, - "nextAction": {
- "type": "string",
- "description": "string"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "linkedAt": "2019-08-24T14:15:22Z"
}paid = Finance accepted the payment; completed = paid and ownership issued; payment_rejected = Finance rejected it.
Scope: orders:write
| id required | string Example: ord_6712c0ffee0123456789abcd Order id |
| to required | string Enum: "paid" "completed" "payment_rejected" |
| object | any Value: "order" |
| id | string ord_… |
| number | string Amtaar order number |
| customer | string cus_… |
| status | string Enum: "awaiting_payment" "payment_under_review" "paid" "completed" "cancelled" "payment_rejected" "cancellation_requested" "refunded" |
| source | string Enum: "api" "app" |
| externalReference | string or null |
Array of objects | |
PropertyRef (object) or null Set when the order has one property (API orders always do) | |
| shares | integer |
object | |
object | |
| expiresAt | string or null <date-time> When the unpaid reservation ends |
object or null | |
object (Metadata) <= 20 properties Your key/value pairs | |
| createdAt | string or null <date-time> |
| updatedAt | string or null <date-time> |
| completedAt | string or null <date-time> |
{- "to": "paid"
}{- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}Sent when you opened a new Amtaar account (data.customer).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when an existing investor confirmed the link (data.customer).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when a linked customer finished Amtaar KYC (data.customer).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when a customer was unlinked (data.customer).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when an order exists — placed by you, or by your customer in the app (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when payment evidence arrived and Finance is checking it (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when the money is confirmed (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when the shares are issued to the customer (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when the order was cancelled or expired unpaid; its shares are released (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when Finance rejected the payment (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when the order was refunded (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when the customer asked to cancel a paid order (data.order).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when rental income reached the customer's wallet (data.customer, data.payout). Needs portfolioAccess.
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}Sent when a row was added to your commission ledger (data.commission).
| Amtaar-Signature required | string |
| Amtaar-Event-Id required | string |
| Amtaar-Event-Type required | string |
| Amtaar-Delivery-Id required | string |
| object | any Value: "event" |
| id | string evt_… |
| type | string Enum: "customer.created" "customer.linked" "customer.kyc_verified" "customer.unlinked" "order.created" "order.payment_under_review" "order.paid" "order.completed" "order.cancelled" "order.payment_rejected" "order.refunded" "order.cancellation_requested" "payout.paid" "commission.created" "webhook.test" |
| environment | string Enum: "live" "sandbox" |
| apiVersion | string |
| createdAt | string or null <date-time> |
object customer / order / payout / commission objects, as in the API |
{- "object": "event",
- "id": "string",
- "type": "customer.created",
- "environment": "live",
- "apiVersion": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "data": {
- "customer": null,
- "order": {
- "object": "order",
- "id": "string",
- "number": "AM2610180001",
- "customer": "string",
- "status": "awaiting_payment",
- "source": "api",
- "externalReference": "string",
- "items": [
- {
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0
}
], - "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "shares": 0,
- "amounts": {
- "currency": "string",
- "gross": 0,
- "discount": 0,
- "walletApplied": 0,
- "payable": 0
}, - "funding": {
- "method": "partner_settlement",
- "checkoutUrl": "string",
- "settlement": {
- "reference": "string",
- "amount": 0,
- "paidAt": "2019-08-24T14:15:22Z",
- "submittedAt": "2019-08-24T14:15:22Z"
}
}, - "expiresAt": "2019-08-24T14:15:22Z",
- "cancellation": {
- "reason": "string",
- "fee": 0,
- "refundAmount": 0,
- "cancelledAt": "2019-08-24T14:15:22Z"
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "completedAt": "2019-08-24T14:15:22Z"
}, - "payout": {
- "object": "payout",
- "id": "string",
- "property": {
- "id": "string",
- "code": "AMT-26-017",
- "name": {
- "en": "string",
- "ar": "string"
}
}, - "period": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "amount": 0,
- "currency": "string",
- "sharesEligible": 0,
- "status": "paid",
- "paidAt": "2019-08-24T14:15:22Z"
}, - "commission": {
- "object": "commission",
- "id": "string",
- "type": "signup_fee",
- "amount": 0,
- "currency": "string",
- "customerAmount": 0,
- "customer": "string",
- "order": "string",
- "reference": "string",
- "testMode": true,
- "createdAt": "2019-08-24T14:15:22Z"
}
}
}