iotoms Docs

Get merchant provisioning status

GET
/api/v1/merchant/{merchantCode}/provisioning-status

Returns whether a newly created merchant's workspace is still being set up, ready or failed, with the error message if it failed.

Path Parameters

merchantCode*string

The merchant code you sent to Create a merchant account.

Response Body

OK

*/*
  1. response
status*string

Outcome of the call: SUCCESS when the request worked, ERROR when it did not.

message*string

Short human-readable message describing the result, for logs or display; do not parse it.

data?

The merchant's workspace setup status, with the error message if setup failed.

Example Request
curl -X GET 'https://beta.iotoms.com/api/v1/merchant/string/provisioning-status'
Example Response
{  "status": "string",  "message": "string",  "data": {    "merchantCode": "string",    "provisioningStatus": "PROVISIONING",    "provisioningError": "string"  }}