Onboard a Switcloud terminal
A 10-step recipe with Switstack. We can help you get access.
Recipe · 10 steps
Onboard a Switcloud terminal
with Switstack
Create an estate, a minimum EMV configuration, and the POIConfig that binds them to a terminal.
- Password-grant token. Returns access_token, token_type bearer, expires_in 3600.
- create-merchant
- merchant_id is required — omitting it is the most common 422 in this flow.
- The terminal or COTS device. identifier and serial_number are both required and distinct.
- A kernel parameter set. kernel, aid and tlv are shown in the provider's own Python sample.
- create-emv-list
- Join endpoint — two path ids, in order (list id then emv id).
- emv_nominal_list_id is the working parameter set; emv_failsafe_list_id is the fallback and should be populated in production. This workflow sets only the nominal list, matching the provider's minimum example.
- The join object a terminal fetches at runtime. The docs require at least an EMVConfig; bin_config_id, capk_list_id and cr_list_id are optional and can be added later (CAPKs are required in practice for offline data authentication).
- Read the bundle back with expansion on. Without with_related=true a POIConfig holding a dangling reference looks fine; with it, bin_config / capk_list / cr_list / emv_config are inlined.
What you'll need to have ready
- username: Organization Admin email address.
- password
- merchant_name
- store_name
- store_address
- poi_name
- poi_identifier
- poi_serial_number
- poi_brand: One of UNDEFINED, SUNMI, CASTLES, PAX, SAMSUNG, GOOGLE.
- emv_technology_type: CONTACT or CONTACTLESS.
For your developer
Arazzo workflow switstack:onboard-a-terminal, 10 operations: token → create_merchant → create_store → create_poi → create_emv → create_emv_list → add_emv_to_emv_list → create_emv_config → create_poi_config → get_poi_config. Specs on APIs.io.