Skip to main content

Get Integration

Get the active Square Merchant integration for a project.

Path Parameters
projectId string REQUIRED

All APIs check for Project Authorization.

Example: c2014261-0d71-43c4-983f-f8fbafb24565
Responses
200

Ok

Schema OPTIONAL
integration object OPTIONAL

@SquareIntegration Represents the Square Integration.

integrationId string

The id of the @SquareIntegration

merchantId string

The id of the Square Merchant Account to which this @SquareIntegration connects

merchantName string

The name of the Square Merchant Account to which this @SquareIntegration connects

400

Invalid input data.

Schema OPTIONAL
code double

The HTTP status code representing the result of the API call

errorCode

A more specific, domain-specific error code (use the ErrorCodes enum)

message string

A human-readable message describing the error

validationIssues object OPTIONAL
401

Unauthorized, missing or invalid access token

403

Not Authorized to access this project.

GetActiveIntegration
GET /project/:projectId/integrations/square/integration
projectId — path
https://app-api.pangealabs.xyz
curl -L 'https://app-api.pangealabs.xyz/project/:projectId/integrations/square/integration' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer '