MobileAuthorizationApi

August 2, 2018 ยท View on GitHub

squareconnect.apis.mobile_authorization_api

All endpoints are relative to Square Connect V2 Documentation

MethodHTTP request
create_mobile_authorization_codePOST /mobile/authorization-code

create_mobile_authorization_code

CreateMobileAuthorizationCodeResponse create_mobile_authorization_code(body)

Description

Generates code to authorize a mobile application to connect to a Square card reader Authorization codes are one-time-use and expire 60 minutes after being issued. Important: The Authorization header you provide to this endpoint must have the following format: Authorization: Bearer ACCESS_TOKEN Replace ACCESS_TOKEN with a valid production authorization credential.

Parameters

NameTypeNotesDefault Value
bodyCreateMobileAuthorizationCodeRequest

Return type

CreateMobileAuthorizationCodeResponse

Authorization

Assign your Access Token from developer portal to the authorization parameter.

[Back to top] [Back to API list] [Back to Model list] [Back to README]