Skip to content
API referenceAPI v1admin-sdk 1.1.52Search docs⌘K
Merchants · Set up a business
API reference / Merchants

Set up a business

POST/api/v1/merchants/partner-activationno app scope

For partner platforms: set up or link one of your businesses and turn on payments, keyed by your own reference. Safe to repeat; call again until state is active. Run merchants.

Body

referencestringrequired

Your ID for the business.

merchantobjectrequired

The business.

namestringrequired

Business name.

emailstringrequired

Business email.

ownerobjectrequired

The person who runs it.

emailstringrequired

Their email.

first_namestringrequired

Their first name.

webhook_urlstring

HTTPS URL for its paid-order notifications.

codestring

The code Inkress emailed the owner, when moving an account that signed up on its own.

Headers

Authorizationheaderrequired

Bearer with your secret key, or the merchant's OAuth token.

Returns

state (active, setting_up, confirmation_sent), link (created, linked, moved), the merchant, the vouch and, once active, its keys.

Errors

403This credential can't set up merchants for a partner.
409The account is linked to another business, managed by another platform, shares its email with another account, or the name is taken.
422A required field is missing, webhook_url isn't HTTPS, the code is wrong, or Inkress couldn't create the account.
429Too many wrong codes, or too many codes sent.
502Verification is unavailable. Try again shortly.
503Inkress couldn't send or check the code. Try again shortly.