An application is a request to activate one product for one merchant in one or more regions. Creating it is the first call you make: it creates the merchant, links it to your partner account and opens the application in a single step.
Create the merchant and the application
POST/partner/api/onboarding/initiate
This is the same endpoint the Hosted Onboarding API uses. Set mode to API and it creates the merchant, the link to your partner account and the application in one call, with the company details attached. No hosted link is generated, so the onboardingUrl in the response is not usable, so ignore it.
Request body
| Parameter | Type | Required | Description |
|---|
| merchantReference | string | Yes | Your own identifier for this merchant. Unique per partner, and permanent. Calling initiate again with the same reference returns the existing application. |
| productCode | string | Yes | tor or mor. Any other value is refused with 400 validation_error naming productCode. Case and surrounding spaces are ignored: MOR is stored as mor and comes back that way. Fixed once set. The application keeps this product. |
| mode | string enum | For this flow | HOSTED or API. Optional in the schema and defaults to HOSTED, so you must send API explicitly. Omitting it gives you a hosted application and a link for the merchant to complete. |
| company | object | Yes | Legal entity details, broken out below. Required here, and correctable later with PATCH. |
| returnUrl | string | No | Where the merchant returns after a hosted flow. Ignored in API mode. |
| complianceSummary | object | No | Checks you have already run, broken out below. Stored and shown to the Outpost reviewer. |
| merchantContext | object | No | Free-form string map carried through to the Outpost reviewer. |
company
Required here, with the same rules in both modes. If something changes or arrives wrong, PATCH replaces the whole object under the same rules.
| Parameter | Type | Required | Description |
|---|
| company.legalName | string | Yes | Registered legal name. |
| company.tradingName | string | No | Trading or brand name, if it differs from the legal name. |
| company.website | string | Yes | The business's website. |
| company.taxId | string | Yes | Tax identifier in the jurisdiction of registration. |
| company.registrationNumber | string | Yes | Company registration number. |
| company.jurisdiction | string | Yes | Country of incorporation, ISO 3166-1 alpha-2. |
| company.gmvTier | string enum | No | Expected annual gross merchandise value band. One of the values listed below. Any other value is rejected as a malformed body, not as a field error. |
| company.registeredAddress.line1 | string | Yes | Primary address line. |
| company.registeredAddress.line2 | string | No | Secondary address line. |
| company.registeredAddress.city | string | Yes | City. |
| company.registeredAddress.state | string | No | State or province. |
| company.registeredAddress.postalCode | string | Yes | Postal code. |
| company.registeredAddress.country | string | Yes | ISO 3166-1 alpha-2 country code. |
Accepted values for company.gmvTier:
UP_TO_100KFROM_100K_TO_250KFROM_250K_TO_500KFROM_500K_TO_1MFROM_1M_TO_10MFROM_10M_TO_50MFROM_50M_TO_100MFROM_100M_TO_250MFROM_250M_TO_500MFROM_500M_TO_1B
complianceSummary
Optional. Checks you have already run, stored against the application and shown to the Outpost reviewer. Every field is free text.
| Parameter | Type | Required | Description |
|---|
| complianceSummary.verificationStatus | string | No | Free text. Your own verification outcome for this business. |
| complianceSummary.riskLevel | string | No | Free text. Your own risk rating. |
| complianceSummary.countryOfIncorporation | string | No | ISO 3166-1 alpha-2 country code. |
| complianceSummary.hasOpenComplianceFlags | boolean | No | Whether you have unresolved compliance flags on this business. |
Example request
curl -X POST \
"https://api.outpostanywhere.com/partner/api/onboarding/initiate" \
-H "Authorization: Bearer $OUTPOST_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"merchantReference": "psp-merchant-4821",
"productCode": "tor",
"mode": "API",
"company": {
"legalName": "Northwind Digital Ltd",
"tradingName": "Northwind",
"registrationNumber": "09123456",
"taxId": "GB123456789",
"jurisdiction": "GB",
"website": "https://northwind.example",
"gmvTier": "FROM_1M_TO_10M",
"registeredAddress": {
"line1": "12 Example Street",
"line2": "Floor 3",
"city": "London",
"state": "Greater London",
"postalCode": "EC1A 1AA",
"country": "GB"
}
},
"complianceSummary": {
"verificationStatus": "verified",
"riskLevel": "low",
"countryOfIncorporation": "GB",
"hasOpenComplianceFlags": false
},
"merchantContext": {
"accountManager": "avery.diaz@acme-psp.example",
"segment": "mid-market"
}
}'
Response 200 OK
{
"applicationId": "3f8c1e07-5a44-4b91-9d2e-77a0c6b41e58",
"merchantId": "9b1f4c8e-6d2a-4f7b-8e3c-1a5d0f2b7c94",
"status": "DRAFT",
"mode": "API",
"isExistingApplication": false,
"onboardingUrl": "https://onboarding.outpostanywhere.com/acme-psp/onboarding?app=3f8c1e07-5a44-4b91-9d2e-77a0c6b41e58"
}
| Parameter | Type | Required | Description |
|---|
| applicationId | string (uuid) | | Identifier for the application. Use it for the PATCH that fills the application in. |
| merchantId | string (uuid) | | Identifier for the merchant Outpost created. Use it for submit, for polling and for every tax call. Returned whether the application is new or already existed. |
| status | string | | Application status. DRAFT on creation. These are the raw internal values, not the lowercase ones the merchant-scoped endpoints return. |
| mode | string | | HOSTED or API, as stored. |
| isExistingApplication | boolean | | true when an application already existed for this merchantReference. Company details in your request were discarded. |
| onboardingUrl | string | | Hosted link for the merchant. In API mode this is returned without a token and is not usable in this mode, so ignore it. |
Errors
| HTTP | Code | Description |
|---|
| 400 | validation_error | productCode is not tor or mor, or the body could not be parsed, for example an unrecognised gmvTier or mode. errors[].field names productCode or body. Both checks run before the company check, so fix them first to see any company errors. |
| 400 | invalid_argument | A required field is missing or blank. Each missing field is named, for example company.registeredAddress.city. |
| 401 | — | Invalid or missing Authorization token. |
Call it before anything else
If an application already exists for that merchantReference, initiate returns the existing one with isExistingApplication: true and keeps the company details it already has, so send yours on the first call.
Get the application
GET/partner/api/onboarding/applications/{applicationId}
Returns the current state. This is the call you poll after submitting, and every endpoint in this section returns this same shape.
Example request
curl "https://api.outpostanywhere.com/partner/api/onboarding/applications/{applicationId}" \
-H "Authorization: Bearer $OUTPOST_ACCESS_TOKEN"
Response 200 OK
{
"applicationId": "3f8c1e07-5a44-4b91-9d2e-77a0c6b41e58",
"merchantId": "9b1f4c8e-6d2a-4f7b-8e3c-1a5d0f2b7c94",
"status": "IN_REVIEW",
"mode": "API",
"partnerId": "3d7c2e19-84af-4c0b-9f61-5b8e2a7d1c03",
"partnerMerchantReference": "psp-merchant-4821",
"productCode": "tor",
"company": {
"legalName": "Northwind Digital Ltd",
"jurisdiction": "GB"
},
"selectedRegions": ["5f4e3d2c-1b0a-4c9d-8e7f-6a5b4c3d2e1f"],
"businessDescription": "Subscription meal kits sold to consumers in the EU",
"storeUrls": ["https://shop.example.com"],
"legalRepresentative": {
"fullName": "Jane Doe",
"email": "jane.doe@northwind.example",
"role": "Managing Director"
},
"contacts": {
"financeContact": {
"fullName": "Frank Smith",
"email": "finance@northwind.example",
"role": "CFO"
},
"technicalContact": {
"fullName": "Tara Jones",
"email": "tech@northwind.example",
"role": "CTO"
}
},
"comments": [],
"editableSections": ["businessModel", "productSelection", "contacts", "company"],
"requiredFields": [
"company.legalName",
"company.website",
"company.taxId",
"company.registrationNumber",
"company.jurisdiction",
"company.registeredAddress",
"company.registeredAddress.line1",
"company.registeredAddress.city",
"company.registeredAddress.postalCode",
"company.registeredAddress.country",
"legalRepresentative.fullName",
"legalRepresentative.email"
],
"audit": {
"createdAt": "2026-07-21T09:02:11.004Z",
"updatedAt": "2026-07-21T09:14:52.118Z",
"submittedAt": "2026-07-21T09:14:52.118Z"
}
}
| Parameter | Type | Required | Description |
|---|
| applicationId | string (uuid) | | The application you addressed. |
| merchantId | string (uuid) | | The Outpost merchant this application belongs to. Store it for the merchant-scoped endpoints, such as the tax APIs. |
| status | string | | One of DRAFT, IN_REVIEW, CHANGES_REQUESTED, APPROVED, SIGNED_BY_MERCHANT, SIGNED_BY_OUTPOST, REJECTED. See the status lifecycle below. |
| mode | string | | HOSTED or API, as stored. |
| partnerId | string | | Your partner identifier. |
| partnerMerchantReference | string | | The merchantReference you sent at initiate, echoed back. Your own reference, not to be confused with merchantId above, which is the Outpost merchant UUID. |
| productCode | string | | The product you chose at initiate, in its canonical lower-case form: tor or mor, whatever case or spacing you sent. |
| company | object | | The company object as stored. See OnboardingCompany at initiate. |
| complianceSummary | object | | The compliance summary you sent at initiate, when you sent one. |
| merchantContext | object | | The metadata you sent at initiate, when you sent any. |
| selectedRegions | string[] | | The region ids currently on the application. |
| businessDescription | string | | What you last sent as businessDescription. |
| storeUrls | string[] | | What you last sent as storeUrls. |
| legalRepresentative | object | | The legal representative on the application, with fullName, email and role. Absent until someone sends one, whether that is you or the merchant in the hosted flow. |
| contacts | object | | financeContact and technicalContact, each with fullName, email and role. Absent until at least one of them is set. |
| comments | object[] | | Reviewer feedback. Filled only while the status is CHANGES_REQUESTED or REJECTED, and only with comments a reviewer has left open. Empty in every other status, and empty again once you resubmit. See the fields below. |
| editableSections | string[] | | Which sections you may still change: businessModel, productSelection, contacts and company. The set is the same on every response. |
| requiredFields | string[] | | A fixed list of the fields the flow requires: the company fields, plus legalRepresentative.fullName and legalRepresentative.email. It is the same on every response whatever the product, and it stays the same as you fill the application in. It does not carry selectedRegions, businessDescription, checkoutUrl or the six KYB keys a mor application needs, so to learn what is still outstanding, call submit and read the 400. |
| audit | object | | createdAt and updatedAt, plus submittedAt, reviewedAt and reviewMessage once they exist. |
Fields holding their default value are left out of the response. An empty comments array means the reviewer has left nothing open.
comments
| Parameter | Type | Required | Description |
|---|
| comments[].id | string | | Identifier for the comment. Use it to avoid showing the same note twice. |
| comments[].target.sectionKey | string | | The section the reviewer commented on: company, contacts, businessModel or productSelection. |
| comments[].target.fieldKey | string | | The specific field, when the comment is about one. Absent when the comment is about the whole section. |
| comments[].message | string | | What the reviewer wrote, meant to be read by a person. |
| comments[].createdAt | string (ISO 8601) | | When the comment was left. |
Errors
| HTTP | Code | Description |
|---|
| 400 | invalid_argument | The applicationId in the path is not a UUID. |
| 404 | not_found | No application with that id belongs to your partner account. You never get a 403. |
| 401 | — | Invalid or missing Authorization token. |
Fill in the application
PATCH/partner/api/onboarding/applications/{applicationId}
Fills in the rest of the application: the regions, what the merchant sells, its storefront URLs, its category, the people to contact, and a correction to the company if you need one.
Every field is optional, so shape the flow to your product
Send one field or all of them, in whatever order suits you, across as many calls as you like. Collect the regions on one screen and the contacts on another, save each step as the merchant completes it, and let them come back to it tomorrow. The application simply holds whatever you have sent so far. Completeness is checked once, at submit.
Every application needs a legalRepresentative before it can be submitted, whatever the product, so send one here. The finance and technical contacts under contacts are optional. In the hosted flow the merchant fills all three contacts in the onboarding UI, so anything you send now is what they see, and anything they change comes back to you on the next read.
This call is addressed by the applicationId that initiate returned, so you can make it straight away. PATCH keeps what you do not send: a field you leave out keeps its current value, and sending null also keeps it. To change a value, send the new one. What PATCH does check is the shape of what you send: any email must be a valid address, and a company must arrive complete. Both answer 400 invalid_argument and store nothing. selectedRegions, legalRepresentative andcontacts replace what is there rather than merging into it, so send each of them whole.
Request body
| Parameter | Type | Required | Description |
|---|
| selectedRegions | string[] | No | The regions the merchant wants the product enabled in — the partner sends what the merchant requested. The values correspond to the ids returned by GET /partner/api/regions. Replaces the whole list rather than merging. |
| businessDescription | string | No | What the merchant sells. Satisfies the businessDescription requirement. |
| storeUrls | string[] | No | The merchant’s storefront or checkout URLs. Satisfies the checkoutUrl requirement. |
| category | string | No | Free-text business category. Not part of any requirement today. |
| legalRepresentative | object | No | The person authorised to act for the merchant. No application can be submitted without one, whatever the product. Replaces the whole object rather than merging, so send every field you want to keep. |
| legalRepresentative.fullName | string | No | Full name. Needed, together with email, to clear the requirement. |
| legalRepresentative.email | string | No | Email address. Checked on the way in: a malformed address is rejected with 400 invalid_argument and nothing is stored. |
| legalRepresentative.role | string | No | Job title, for example Managing Director. Free text and not part of any requirement. |
| contacts | object | No | financeContact and technicalContact. Sending it replaces both: leave one out and it is cleared, so send the pair every time. Leave contacts out of the request entirely and both keep their current values. |
| contacts.financeContact | object | No | Who to contact about tax filings and invoices. Same fullName, email and role fields, all optional. The email is checked the same way. |
| contacts.technicalContact | object | No | Who to contact about the integration. Same fullName, email and role fields, all optional. The email is checked the same way. |
| company | object | No | Corrects the company sent at initiate. Same fields, same rules. It replaces the stored company outright, and it is the one field checked for completeness on the way in: send it whole or leave it out. |
Example request
curl -X PATCH \
"https://api.outpostanywhere.com/partner/api/onboarding/applications/{applicationId}" \
-H "Authorization: Bearer $OUTPOST_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"selectedRegions": ["5f4e3d2c-1b0a-4c9d-8e7f-6a5b4c3d2e1f"],
"businessDescription": "Subscription meal kits sold to consumers in the EU",
"storeUrls": ["https://shop.example.com"],
"category": "retail",
"legalRepresentative": {
"fullName": "Jane Doe",
"email": "jane.doe@northwind.example",
"role": "Managing Director"
},
"contacts": {
"financeContact": {
"fullName": "Frank Smith",
"email": "finance@northwind.example",
"role": "CFO"
},
"technicalContact": {
"fullName": "Tara Jones",
"email": "tech@northwind.example",
"role": "CTO"
}
}
}'
Response 200 OK
{
"applicationId": "3f8c1e07-5a44-4b91-9d2e-77a0c6b41e58",
"merchantId": "9b1f4c8e-6d2a-4f7b-8e3c-1a5d0f2b7c94",
"status": "DRAFT",
"mode": "API",
"partnerId": "3d7c2e19-84af-4c0b-9f61-5b8e2a7d1c03",
"partnerMerchantReference": "psp-merchant-4821",
"productCode": "tor",
"company": {
"legalName": "Northwind Digital Ltd",
"jurisdiction": "GB"
},
"selectedRegions": ["5f4e3d2c-1b0a-4c9d-8e7f-6a5b4c3d2e1f"],
"businessDescription": "Subscription meal kits sold to consumers in the EU",
"storeUrls": ["https://shop.example.com"],
"legalRepresentative": {
"fullName": "Jane Doe",
"email": "jane.doe@northwind.example",
"role": "Managing Director"
},
"contacts": {
"financeContact": {
"fullName": "Frank Smith",
"email": "finance@northwind.example",
"role": "CFO"
},
"technicalContact": {
"fullName": "Tara Jones",
"email": "tech@northwind.example",
"role": "CTO"
}
},
"comments": [],
"editableSections": ["businessModel", "productSelection", "contacts", "company"],
"requiredFields": [
"company.legalName",
"company.website",
"company.taxId",
"company.registrationNumber",
"company.jurisdiction",
"company.registeredAddress",
"company.registeredAddress.line1",
"company.registeredAddress.city",
"company.registeredAddress.postalCode",
"company.registeredAddress.country",
"legalRepresentative.fullName",
"legalRepresentative.email"
],
"audit": {
"createdAt": "2026-07-21T09:02:11.004Z",
"updatedAt": "2026-07-21T09:07:36.512Z"
}
}
Same shape as Get the application.
Errors
| HTTP | Code | Description |
|---|
| 400 | validation_error | The body could not be parsed, for example an unrecognised gmvTier. errors[].field is body, and nothing in the request is stored. |
| 400 | invalid_argument | The applicationId in the path is not a UUID, or a contact email is not a valid address. For a bad email the body names the field, for example legalRepresentative.email or contacts.financeContact.email, and nothing in the request is stored. |
| 404 | not_found | No application with that id belongs to your partner account. You never get a 403. |
| 401 | — | Invalid or missing Authorization token. |
| 409 | invalid_status | The application is not in DRAFT or CHANGES_REQUESTED, so it can no longer be edited. |
Submit for review
POST/partner/api/onboarding/applications/{applicationId}/submit
Hands the application to Outpost for review. Send it with an empty body. On success the status becomes IN_REVIEW and audit.submittedAt is set.
This is the one gate in the flow. Everything before it accepts partial data, so submit is where Outpost checks that the application is complete. It runs three checks, in this order.
What submit checks
- 1Ownership. The application belongs to your partner account. Otherwise
404 not_found. - 2Status. It is
DRAFT or CHANGES_REQUESTED. Otherwise 409 invalid_status. - 3Completeness. Every required field holds a usable value. Otherwise
400 incomplete_application, listing each one. See Requirements for the full set and the field that satisfies each.
The completeness check reports everything at once rather than stopping at the first problem, so one rejected submit tells you the whole list. Submitting early is a fair way to ask what is left: a rejected submit changes nothing.
Example request
curl -X POST \
"https://api.outpostanywhere.com/partner/api/onboarding/applications/{applicationId}/submit" \
-H "Authorization: Bearer $OUTPOST_ACCESS_TOKEN"
Response 200 OK
{
"applicationId": "3f8c1e07-5a44-4b91-9d2e-77a0c6b41e58",
"merchantId": "9b1f4c8e-6d2a-4f7b-8e3c-1a5d0f2b7c94",
"status": "IN_REVIEW",
"mode": "API",
"partnerId": "3d7c2e19-84af-4c0b-9f61-5b8e2a7d1c03",
"partnerMerchantReference": "psp-merchant-4821",
"productCode": "tor",
"company": {
"legalName": "Northwind Digital Ltd",
"jurisdiction": "GB"
},
"selectedRegions": ["5f4e3d2c-1b0a-4c9d-8e7f-6a5b4c3d2e1f"],
"businessDescription": "Subscription meal kits sold to consumers in the EU",
"storeUrls": ["https://shop.example.com"],
"legalRepresentative": {
"fullName": "Jane Doe",
"email": "jane.doe@northwind.example",
"role": "Managing Director"
},
"contacts": {
"financeContact": {
"fullName": "Frank Smith",
"email": "finance@northwind.example",
"role": "CFO"
},
"technicalContact": {
"fullName": "Tara Jones",
"email": "tech@northwind.example",
"role": "CTO"
}
},
"comments": [],
"editableSections": ["businessModel", "productSelection", "contacts", "company"],
"requiredFields": [
"company.legalName",
"company.website",
"company.taxId",
"company.registrationNumber",
"company.jurisdiction",
"company.registeredAddress",
"company.registeredAddress.line1",
"company.registeredAddress.city",
"company.registeredAddress.postalCode",
"company.registeredAddress.country",
"legalRepresentative.fullName",
"legalRepresentative.email"
],
"audit": {
"createdAt": "2026-07-21T09:02:11.004Z",
"updatedAt": "2026-07-21T09:14:52.118Z",
"submittedAt": "2026-07-21T09:14:52.118Z"
}
}
Same shape as Get the application.
Errors
| HTTP | Code | Description |
|---|
| 400 | incomplete_application | A required field is still missing. The body names every outstanding key at once. For a mor application that includes the six KYB keys, which nothing in this API can supply yet. |
| 400 | invalid_argument | The applicationId in the path is not a UUID. |
| 404 | not_found | No application with that id belongs to your partner account. |
| 409 | invalid_status | Already submitted, or past the point where it can be submitted again. |
| 401 | — | Invalid or missing Authorization token. |
A 400 incomplete_application names every outstanding key. For a tor application:
{
"code": "incomplete_application",
"errors": [
{ "field": "checkoutUrl", "message": "checkoutUrl is required" },
{ "field": "legalRepresentative", "message": "legalRepresentative is required" }
]
}
A mor application lists its six KYB keys as well, until they are satisfied. See Requirements for what they are and why they block submit today.
Submit is not idempotent. A second call while the application is already IN_REVIEW returns 409 invalid_status. Treat that as "already submitted", not as an error to retry.