Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Latest commit

 

History

History
34 lines (19 loc) · 1.6 KB

File metadata and controls

34 lines (19 loc) · 1.6 KB

MobileAuthorizationApi

squareconnect.apis.mobile_authorization_api

All endpoints are relative to Square Connect V2 Documentation

Method HTTP request
create_mobile_authorization_code POST /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

Name Type Notes Default Value
body CreateMobileAuthorizationCodeRequest

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]