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 |
CreateMobileAuthorizationCodeResponse create_mobile_authorization_code(body)
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.
| Name | Type | Notes | Default Value |
|---|---|---|---|
| body | CreateMobileAuthorizationCodeRequest |
CreateMobileAuthorizationCodeResponse
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]