{"openapi":"3.1.0","info":{"title":"LipaZone Personal Sandbox API","version":"0.5.1","description":"First-party mobile device API. All transfers are synthetic and no stored-value wallet is provided. External funding authorization, provider disbursement and live P2P are not enabled. Android push is opt-in. Payloads contain a generic title and opaque alert ID, never payment amounts, names or credentials. An authenticated read rechecks current ownership and merchant permissions. Push is at least once and is not evidence of settlement. The inbox works without OS notification permission. Logout revokes the associated push binding. Native registration requires sandbox acknowledgement and a verified email before device token issuance. Email verification uses a signed, expiring HTTPS link. Recovery uses the existing password broker."},"servers":[{"url":"\/","description":"Current LipaZone deployment root"}],"security":[{"PersonalDevice":[]}],"paths":{"\/api\/v1\/personal\/auth\/login":{"post":{"summary":"Sign in a verified client","operationId":"post_auth_login","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"token":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"user":{"$ref":"#\/components\/schemas\/User"}},"required":["token","expires_at","user"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","format":"password"},"device_name":{"type":"string","maxLength":80},"code":{"type":"string","maxLength":100}},"required":["email","password","device_name"]}}}},"description":"Returns a scoped 30-day Sanctum token. Password and verified email are required. GET auth\/policy reports whether enrolled MFA is required. Only local, testing and staging sandbox deployments may explicitly disable mobile MFA. Stored MFA secrets and web MFA are retained. Five attempts per email and 20 per IP per minute. Maximum 20 device tokens per user.","security":[]}},"\/api\/v1\/personal\/me":{"get":{"summary":"Read profile, sandbox funding source and limits","operationId":"get_me","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"user":{"$ref":"#\/components\/schemas\/User"},"environment":{"type":"string","enum":["sandbox"]},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","enum":["simulator_mobile_money"]},"name":{"type":"string"},"simulated":{"const":true},"currency":{"type":"string","enum":["TZS"]}},"required":["id","name","simulated","currency"]}},"limits":{"type":"object","properties":{"minimum_minor":{"type":"integer"},"maximum_minor":{"type":"integer"},"daily_minor":{"type":"integer"}},"required":["minimum_minor","maximum_minor","daily_minor"]}},"required":["user","environment","sources","limits"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/auth\/logout":{"post":{"summary":"Revoke the current device token","operationId":"post_auth_logout","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"signed_out":{"const":true}},"required":["signed_out"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/devices":{"get":{"summary":"List your active devices","operationId":"get_devices","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"devices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"last_used_at":{"type":["string","null"],"format":"date-time"},"current":{"type":"boolean"},"scope":{"type":"string","enum":["personal","merchant"]},"created_at":{"type":["string","null"],"format":"date-time"},"expires_at":{"type":["string","null"],"format":"date-time"}},"required":["id","name","last_used_at","current","scope","created_at","expires_at"]}}},"required":["devices"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"description":"Lists this account's active credential-valid sessions across Personal and Business. These are account sessions, not a staff device inventory. A device can have more than one session. Deleting the current session signs this caller out."}},"\/api\/v1\/personal\/devices\/{device}":{"delete":{"summary":"Revoke one of your own devices","operationId":"delete_devices_device","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"revoked":{"const":true}},"required":["revoked"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"name":"device","in":"path","required":true,"schema":{"type":"string"}}]}},"\/api\/v1\/personal\/recipients\/lookup":{"post":{"summary":"Find a verified recipient by exact email","operationId":"post_recipients_lookup","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"recipient":{"$ref":"#\/components\/schemas\/Recipient"}},"required":["recipient"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string","format":"email"}},"required":["email"]}}}},"description":"Returns public ID and display name only. Self and unverified recipients are unavailable. No directory or partial search. Sensitive operations share a limit of ten per user per minute."}},"\/api\/v1\/personal\/transfers":{"post":{"summary":"Create or replay an immutable payment review","operationId":"post_transfers","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfer":{"$ref":"#\/components\/schemas\/Transfer"}},"required":["transfer"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"recipient_id":{"type":"string","format":"uuid"},"amount_minor":{"type":"integer","minimum":100,"maximum":10000000},"currency":{"type":"string","enum":["TZS"]},"source":{"type":"string","enum":["simulator_mobile_money"]},"scenario":{"type":"string","enum":["success","rejected","unknown","payout_rejected"]}},"required":["recipient_id","amount_minor","currency","source","scenario"]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{16,100}$"}}],"description":"TZS uses two minor-unit digits: TZS 2,500.00 is 250000. Scoped to sender. Same key and same payload returns the existing transfer; changed payload returns 409. No funding occurs before confirmation. Review expires after ten minutes. Zero fee is a simulator rule, not commercial pricing."},"get":{"summary":"List your outgoing and permitted incoming transfers","operationId":"get_transfers","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfers":{"type":"array","items":{"$ref":"#\/components\/schemas\/Transfer"}},"page":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["transfers","page","has_more"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":10000,"default":1}}],"description":"Twenty newest records per page. Recipients see only pending and succeeded transfers; sender reviews and failures remain private."}},"\/api\/v1\/personal\/transfers\/{reference}":{"get":{"summary":"Read your transfer receipt","operationId":"get_transfers_reference","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfer":{"$ref":"#\/components\/schemas\/Transfer"}},"required":["transfer"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"Only sender can confirm. Repeated confirmation retrieves the existing outcome. Daily sandbox confirmed volume limit is TZS 500,000.00, including failed attempts. An unknown delivery resolves after 20 seconds on refresh or the scheduled reconciler. A confirmed funding rejection has no journal movement. A delivery rejection produces a compensating refund posting. No provider network call occurs."}},"\/api\/v1\/personal\/transfers\/{reference}\/confirm":{"post":{"summary":"Authorize this transfer exactly once","operationId":"post_transfers_reference_confirm","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfer":{"$ref":"#\/components\/schemas\/Transfer"}},"required":["transfer"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Confirmation"}}}},"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"Only sender can confirm. Repeated confirmation retrieves the existing outcome. Daily sandbox confirmed volume limit is TZS 500,000.00, including failed attempts. An unknown delivery resolves after 20 seconds on refresh or the scheduled reconciler. A confirmed funding rejection has no journal movement. A delivery rejection produces a compensating refund posting. No provider network call occurs."}},"\/api\/v1\/personal\/transfers\/{reference}\/refresh":{"post":{"summary":"Reconcile this transfer without resubmitting funds","operationId":"post_transfers_reference_refresh","tags":["Personal sandbox"],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfer":{"$ref":"#\/components\/schemas\/Transfer"}},"required":["transfer"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"name":"reference","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"description":"Only sender can confirm. Repeated confirmation retrieves the existing outcome. Daily sandbox confirmed volume limit is TZS 500,000.00, including failed attempts. An unknown delivery resolves after 20 seconds on refresh or the scheduled reconciler. A confirmed funding rejection has no journal movement. A delivery rejection produces a compensating refund posting. No provider network call occurs."}},"\/api\/v1\/personal\/capabilities":{"get":{"summary":"Read QR and tap capability gates","tags":["Mobile payments"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"capabilities":{"type":"object","properties":{"qr_links":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"type":"string"},"requirements":{"type":"array","items":{"type":"string"}}},"required":["available"]},"phone_to_phone":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"type":"string"},"requirements":{"type":"array","items":{"type":"string"}}},"required":["available"]},"tap_to_pay_cards":{"type":"object","properties":{"available":{"type":"boolean"},"reason":{"type":"string"},"requirements":{"type":"array","items":{"type":"string"}}},"required":["available"]}},"required":["qr_links","phone_to_phone","tap_to_pay_cards"]}},"required":["capabilities"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}}}},"\/api\/v1\/personal\/payment-links\/resolve":{"post":{"summary":"Preview a trusted LipaZone QR or invoice without charging","tags":["Mobile payments"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"payment":{"type":"object","properties":{"kind":{"type":"string","enum":["invoice","terminal","request"]},"id":{"type":"string","format":"uuid"},"merchant":{"type":"string"},"reference":{"type":"string"},"currency":{"type":"string"},"amount":{"type":["integer","null"]},"url":{"type":"string"},"status":{"type":"string"},"position":{"type":"object","properties":{"paid":{"type":"integer"},"refunded":{"type":"integer"},"due":{"type":"integer"},"reserved":{"type":"integer"},"available":{"type":"integer"},"payment_status":{"type":"string","enum":["unpaid","partially_paid","paid","credited"]},"digital_paid":{"type":"integer","minimum":0},"offline_paid":{"type":"integer","minimum":0},"credited":{"type":"integer","minimum":0},"refund_due":{"type":"integer","minimum":0}},"required":["paid","refunded","due","reserved","available","payment_status","digital_paid","offline_paid","credited","refund_due"]}},"required":["kind","id","merchant","reference","currency","amount","url"]}},"required":["payment"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":500}},"required":["url"]}}}}}},"\/api\/v1\/personal\/payment-links\/checkout":{"post":{"summary":"Reserve an invoice amount and return hosted checkout","tags":["Mobile payments"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"payment":{"type":"object","properties":{"kind":{"type":"string","enum":["invoice","terminal","request"]},"id":{"type":"string","format":"uuid"},"merchant":{"type":"string"},"reference":{"type":"string"},"currency":{"type":"string"},"amount":{"type":["integer","null"]},"url":{"type":"string"},"status":{"type":"string"},"position":{"type":"object","properties":{"paid":{"type":"integer"},"refunded":{"type":"integer"},"due":{"type":"integer"},"reserved":{"type":"integer"},"available":{"type":"integer"},"payment_status":{"type":"string","enum":["unpaid","partially_paid","paid","credited"]},"digital_paid":{"type":"integer","minimum":0},"offline_paid":{"type":"integer","minimum":0},"credited":{"type":"integer","minimum":0},"refund_due":{"type":"integer","minimum":0}},"required":["paid","refunded","due","reserved","available","payment_status","digital_paid","offline_paid","credited","refund_due"]}},"required":["kind","id","merchant","reference","currency","amount","url"]}},"required":["payment"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":500},"amount":{"type":"integer","minimum":100,"maximum":99999999},"idempotency_key":{"type":"string","format":"uuid"}},"required":["url","amount","idempotency_key"]}}}}}},"\/api\/v1\/personal\/requests":{"get":{"summary":"List own person payment requests","tags":["Personal requests"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"requests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"recipient_name":{"type":"string"},"amount_minor":{"type":"integer"},"currency":{"type":"string"},"note":{"type":["string","null"]},"status":{"type":"string"},"url":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"own":{"type":"boolean"},"transfer_id":{"type":["string","null"],"format":"uuid"}},"required":["id","recipient_name","amount_minor","currency","note","status","url","expires_at","own","transfer_id"]}},"has_more":{"type":"boolean"}},"required":["requests","has_more"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"parameters":[{"name":"page","in":"query","schema":{"type":"integer","minimum":1,"maximum":10000}}]},"post":{"summary":"Create a 30-minute single-use person request","tags":["Personal requests"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"request":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"recipient_name":{"type":"string"},"amount_minor":{"type":"integer"},"currency":{"type":"string"},"note":{"type":["string","null"]},"status":{"type":"string"},"url":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"own":{"type":"boolean"},"transfer_id":{"type":["string","null"],"format":"uuid"}},"required":["id","recipient_name","amount_minor","currency","note","status","url","expires_at","own","transfer_id"]}},"required":["request"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"amount_minor":{"type":"integer","minimum":100,"maximum":10000000},"note":{"type":["string","null"],"maxLength":140},"idempotency_key":{"type":"string","minLength":16,"maxLength":80,"pattern":"^[a-zA-Z0-9_-]+$"}},"required":["amount_minor","idempotency_key"]}}}}}},"\/api\/v1\/personal\/requests\/resolve":{"post":{"summary":"Review a person payment request","tags":["Personal requests"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"request":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"recipient_name":{"type":"string"},"amount_minor":{"type":"integer"},"currency":{"type":"string"},"note":{"type":["string","null"]},"status":{"type":"string"},"url":{"type":"string"},"expires_at":{"type":"string","format":"date-time"},"own":{"type":"boolean"},"transfer_id":{"type":["string","null"],"format":"uuid"}},"required":["id","recipient_name","amount_minor","currency","note","status","url","expires_at","own","transfer_id"]}},"required":["request"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}}}},"\/api\/v1\/personal\/requests\/accept":{"post":{"summary":"Create or retrieve the one transfer review for a request","tags":["Personal requests"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transfer_id":{"type":"string","format":"uuid"}},"required":["transfer_id"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"url":{"type":"string"}},"required":["url"]}}}},"description":"Does not move money. Fetch transfers\/{transfer_id}, review its recipient and amount, then use the existing password\/MFA confirm endpoint. A different payer cannot claim an accepted request. Expired reviews require a new recipient request."}},"\/api\/v1\/personal\/requests\/{id}":{"delete":{"summary":"Revoke an unaccepted request owned by this user","tags":["Personal requests"],"responses":{"200":{"description":"Successful sandbox response. No real money moves.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"revoked":{"type":"boolean"}},"required":["revoked"]},"meta":{"type":"object"}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired or revoked device token."},"403":{"description":"Email verification, role or capability denied."},"404":{"description":"Resource unavailable or outside the authorized business."},"409":{"description":"State or idempotency conflict. Retry the same request; do not create a second charge."},"410":{"description":"Request expired or revoked."},"422":{"description":"Validation failed."},"429":{"description":"Rate limited. Honor Retry-After."}},"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}]}},"\/api\/v1\/personal\/bootstrap":{"get":{"summary":"Read scoped mobile configuration and capabilities","operationId":"personal_bootstrap","tags":["Mobile foundation"],"description":"Refresh on login, business change, foreground resume and expiry. Fail closed on an expired or incompatible currency registry. Configuration is advisory; every mutation rechecks server authorization and provider eligibility. This read does not initiate a payment or enable a live market.","responses":{"200":{"description":"Current sandbox context. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#\/components\/schemas\/MobileBootstrap"}}}}}},"401":{"description":"Missing, stale or wrong-scope device token."},"403":{"description":"Unverified account or insufficient business role."},"404":{"description":"Sandbox disabled, unknown business or no membership."}}}},"\/api\/v1\/personal\/auth\/policy":{"get":{"summary":"Read sandbox mobile authentication policy","operationId":"personal_get_auth_policy","tags":["Mobile notifications"],"security":[],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"environment":{"type":"string","enum":["sandbox"]},"mfa_required":{"type":"boolean"}},"required":["environment","mfa_required"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/notification-settings":{"get":{"summary":"Read available push delivery settings","operationId":"personal_get_notification-settings","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"enabled":{"type":"boolean"},"platforms":{"type":"array","items":{"type":"string"}},"mfa_required":{"type":"boolean"}},"required":["enabled","platforms","mfa_required"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/push-devices":{"post":{"summary":"Register or update this authenticated installation","operationId":"personal_post_push-devices","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"registered":{"type":"boolean"},"installation_id":{"type":"string","format":"uuid"},"enabled":{"type":"boolean"}},"required":["registered","installation_id","enabled"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","properties":{"installation_id":{"type":"string","format":"uuid"},"token":{"type":"string","minLength":40,"maxLength":4096},"platform":{"type":"string","enum":["android"]},"enabled":{"type":"boolean"},"preferences":{"type":"object","properties":{"payments":{"type":"boolean"},"received":{"type":"boolean"},"orders":{"type":"boolean"}},"required":["payments","received","orders"]}},"required":["installation_id","token","platform","enabled","preferences"]}}}}}},"\/api\/v1\/personal\/push-devices\/{installation}":{"delete":{"summary":"Unregister this user installation","operationId":"personal_delete_push-devices_installation","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"unregistered":{"type":"boolean"}},"required":["unregistered"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"in":"path","name":"installation","required":true,"schema":{"type":"string","format":"uuid"}}]}},"\/api\/v1\/personal\/notifications":{"get":{"summary":"List authorized notifications, newest first","operationId":"personal_get_notifications","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"notifications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"category":{"type":"string","enum":["payments","received","orders"]},"created_at":{"type":"string","format":"date-time"},"read_at":{"type":"string","format":"date-time","nullable":true}},"required":["id","title","category","created_at","read_at"]}},"has_more":{"type":"boolean"}},"required":["notifications","has_more"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"in":"query","name":"page","schema":{"type":"integer","minimum":1,"maximum":10000}}]}},"\/api\/v1\/personal\/notifications\/{notification}":{"get":{"summary":"Fetch current authorized payment, transfer or order status","operationId":"personal_get_notifications_notification","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"notification":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"title":{"type":"string"},"category":{"type":"string","enum":["payments","received","orders"]},"created_at":{"type":"string","format":"date-time"},"read_at":{"type":"string","format":"date-time","nullable":true}},"required":["id","title","category","created_at","read_at"]},"resource":{"type":"object","properties":{"type":{"type":"string","enum":["payment","transfer","order"]},"id":{"type":"string","format":"uuid"},"reference":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"amount_minor":{"type":"integer","format":"int64"}},"required":["type","id","reference","status","currency","amount_minor"]}},"required":["notification","resource"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"in":"path","name":"notification","required":true,"schema":{"type":"string","format":"uuid"}}]}},"\/api\/v1\/personal\/notifications\/{notification}\/read":{"post":{"summary":"Mark an authorized notification as read","operationId":"personal_post_notifications_notification_read","tags":["Mobile notifications"],"security":[{"PersonalDevice":[]}],"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"read":{"type":"boolean"}},"required":["read"]},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"401":{"description":"Missing, expired, revoked or invalid user device token.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"403":{"description":"Email verification or authorization required.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"409":{"description":"Retry payload conflict, expired review or limit reached.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"500":{"description":"Unknown response. Recover the same transfer, never blindly resend.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}},"parameters":[{"in":"path","name":"notification","required":true,"schema":{"type":"string","format":"uuid"}}]}},"\/api\/v1\/personal\/payment-receipts\/status":{"post":{"summary":"Read the authenticated receiver receipt for a payment link","description":"Read only. Push messages are refresh hints. Poll no faster than every 5 seconds while the receiving screen is foregrounded; refresh on resume. Personal requests require the recipient. Merchant requests and invoices require current business or assigned POS access. Never marks a payment successful. Single requests only, not reusable terminal links. Amounts are integer minor units. received_minor includes confirmed digital collections; credited or offline-only closure returns closed.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":500}}}}}},"responses":{"200":{"description":"Current authenticated receipt, private and not cacheable","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"receipt":{"type":"object","properties":{"status":{"type":"string"},"currency":{"type":"string"},"reference":{"type":"string"},"amount_minor":{"type":"integer","minimum":0},"received_minor":{"type":"integer","minimum":0},"due_minor":{"type":"integer","minimum":0},"refunded_minor":{"type":"integer","minimum":0},"payer":{"type":["string","null"]}}}}}}}}}},"401":{"description":"Authentication required or scope invalid"},"403":{"description":"Current role not authorized"},"404":{"description":"Request unavailable or not accessible"},"422":{"description":"Invalid or unsupported payment link"},"429":{"description":"Rate limited, back off before retrying"}}}},"\/api\/v1\/personal\/auth\/register":{"post":{"summary":"Register a personal sandbox identity","operationId":"post_auth_register","tags":["Personal sandbox"],"security":[],"description":"Available only while the personal sandbox is enabled. Rate limited with sign-in. Queues a signed verification link. No token or staff\/business privileges are granted.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["name","email","password","password_confirmation","sandbox_acknowledged"],"properties":{"name":{"type":"string","maxLength":150},"email":{"type":"string","format":"email","maxLength":255},"password":{"type":"string","minLength":12,"writeOnly":true,"description":"At least 12 characters including letters and numbers."},"password_confirmation":{"type":"string","writeOnly":true},"sandbox_acknowledged":{"type":"boolean","const":true}}}}}},"responses":{"201":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["verification_required","email"],"properties":{"verification_required":{"type":"boolean","const":true},"email":{"type":"string","format":"email"}}},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/auth\/verification-email":{"post":{"summary":"Resend an email verification link","operationId":"post_auth_verification_email","tags":["Personal sandbox"],"security":[],"description":"Available only while the personal sandbox is enabled. Rate limited with sign-in. Returns a neutral message regardless of whether delivery is eligible. Resending verification requires the correct account password.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","writeOnly":true}}}}}},"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/api\/v1\/personal\/auth\/forgot-password":{"post":{"summary":"Request an account recovery email","operationId":"post_auth_forgot_password","tags":["Personal sandbox"],"security":[],"description":"Available only while the personal sandbox is enabled. Rate limited with sign-in. Uses the existing password reset page. The response does not reveal whether the email is registered.","requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","required":["email"],"properties":{"email":{"type":"string","format":"email"}}}}}},"responses":{"200":{"description":"Successful sandbox response. Cache-Control: no-store, private.","content":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}},"meta":{"type":"object","properties":{"request_id":{"type":"string","format":"uuid"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["data","meta"]}}}},"404":{"description":"Not visible to this user, not found, or sandbox disabled.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"422":{"description":"Validation failed.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"429":{"description":"Rate limited. Honor Retry-After.","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}}}}},"\/personal\/verify-email\/{user}\/{hash}":{"get":{"summary":"Open the signed email verification link","operationId":"verify_personal_email","tags":["Personal sandbox"],"security":[],"description":"Use the complete HTTPS URL from the verification email. Do not construct this link in the app. Includes expires and signature query parameters; expires after 60 minutes. Returns an HTML confirmation directing the user back to the app. No device token is issued by this route.","parameters":[{"in":"path","name":"user","required":true,"schema":{"type":"string"}},{"in":"path","name":"hash","required":true,"schema":{"type":"string"}},{"in":"query","name":"expires","required":true,"schema":{"type":"string"}},{"in":"query","name":"signature","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Email verified; return to the app to sign in.","content":{"text\/html":{"schema":{"type":"string"}}}},"403":{"description":"Invalid, expired or changed-email verification link."},"404":{"description":"User not found."},"429":{"description":"Too many requests."}}}}},"components":{"securitySchemes":{"PersonalDevice":{"type":"http","scheme":"bearer","description":"Sanctum token from personal\/auth\/login, not an lz_test_ business secret."}},"schemas":{"User":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"email":{"type":"string","format":"email"},"mfa_enabled":{"type":"boolean"}},"required":["id","name","email","mfa_enabled"]},"Recipient":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"Transfer":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environment":{"type":"string","enum":["sandbox"]},"direction":{"type":"string","enum":["outgoing","incoming"]},"sender_name":{"type":"string"},"recipient_name":{"type":"string"},"amount_minor":{"type":"integer","minimum":100,"maximum":10000000},"fee_minor":{"type":"integer","const":0},"currency":{"type":"string","enum":["TZS"]},"source":{"type":"string","enum":["simulator_mobile_money"]},"scenario":{"type":"string","enum":["success","rejected","unknown","payout_rejected"]},"status":{"type":"string","enum":["awaiting_confirmation","expired","pending","succeeded","failed","refunded"]},"funding_status":{"type":"string","enum":["not_started","succeeded","rejected","refunded"]},"delivery_status":{"type":"string","enum":["not_started","unknown","succeeded","rejected"]},"expires_at":{"type":"string","format":"date-time"},"created_at":{"type":"string","format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"}},"required":["id","environment","direction","sender_name","recipient_name","amount_minor","fee_minor","currency","source","scenario","status","funding_status","delivery_status","expires_at","created_at","completed_at"]},"Confirmation":{"type":"object","properties":{"password":{"type":"string","format":"password","maxLength":1024},"code":{"type":"string","maxLength":100}},"required":["password"]},"Error":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":true}},"required":["code","message","details"]},"meta":{"type":"object","properties":{"request_id":{"type":"string"},"api_version":{"type":"string"}},"required":["request_id","api_version"]}},"required":["error","meta"]},"MobileCapability":{"type":"object","required":["state","reason_code","next_action"],"properties":{"state":{"type":"string","enum":["available","setup_required","temporarily_unavailable","unsupported"]},"reason_code":{"type":"string"},"next_action":{"type":["string","null"]}}},"MobileBootstrap":{"type":"object","required":["config_version","currency_version","expires_at","environment","scope","country","currencies","business","permissions","terminals","navigation","initial_destination","capabilities"],"properties":{"config_version":{"type":"string","example":"2026-11-15.1"},"currency_version":{"type":"string","enum":["1"]},"expires_at":{"type":"string","format":"date-time"},"environment":{"type":"string","enum":["sandbox"]},"scope":{"type":"string","enum":["personal","merchant"]},"country":{"type":["string","null"],"description":"Selected business country. Null for personal or unselected merchant context; never inferred from IP or device locale."},"currencies":{"type":"object","description":"Metadata only. TZS\/USD\/KES exponent 2; UGX\/RWF exponent 0. Does not grant payment acceptance. Existing integer amounts are unchanged. Provider wire encodings belong to adapters.","additionalProperties":{"type":"object","required":["exponent"],"properties":{"exponent":{"type":"integer","minimum":0,"maximum":3}}}},"business":{"type":["object","null"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"role":{"type":"string"},"onboarding_status":{"type":"string"}}},"permissions":{"type":"array","items":{"type":"string"},"description":"Effective current sales grants. Owner\/admin\/finance retain existing access; cashier grants are not implemented."},"terminals":{"type":"array","items":{"type":"object","required":["id","label","branch_id","methods"],"properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string"},"branch_id":{"type":"string","format":"uuid"},"methods":{"type":"object","description":"Currency keys mapped to eligible method code\/label pairs for this terminal; current methods remain simulator TZS and approved Stripe test USD.","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}}}}},"navigation":{"type":"array","items":{"type":"string"}},"initial_destination":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"$ref":"#\/components\/schemas\/MobileCapability"}},"sources":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"currency":{"type":"string"},"state":{"type":"string"},"simulated":{"type":"boolean"}}}}}}}}}