Claim with OTP
Use this endpoint to claim a business profile in Marmin after the business has already selected M A R M I N AI Software Design LLC as its ASP on the EmaraTax portal and requested an OTP using the Request claim OTP endpoint. See the right panel for the base URL, request samples, and response JSON.
In the partner onboarding path, authenticate with the account-scoped access token from Obtain Account Access Token (not the partner JWT).
When you call this API, Marmin validates the provided EmaraTax email, TIN, and one-time password (OTP). If they match an eligible business and the OTP is still valid, Marmin links that business to your Marmin organization and returns the full business profile.
Rate limit
30 requests/minute per authenticated account. See Rate limiting for response headers (X-RateLimit-*) and retry guidance.
Request body
See the right panel for a complete request example.
Request fields
Response
Status code: 200 OK
Returns the claimed business profile, including its profile_id. Use this value as business_profile_id in the URL when creating documents (for example POST /api/sales-invoices/{business_profile_id}).
Once the claim succeeds:
The business is linked to your Marmin organization.
You can start issuing documents (such as e-invoices) from this business profile.
All documents created with that
business_profile_idin the URL path are transmitted under this claimed business.
