MyNearStoresPartners
Square

Check a terminal's Square connection

GET
/square/oauth/status/{bu_id}/{terminal_id}

Path Parameters

bu_id*integer

Business unit ID.

terminal_id*integer

Response Body

Connection state.

application/json
  1. response
connected*boolean
merchantId*|

Square merchant ID when connected.

curl -X GET "https://example.com/square/oauth/status/0/0"
{  "connected": true,  "merchantId": "MLR8XXXXXXXXX"}