post https://authservices.satispay.com/g_business/v1/pre_authorized_payment_tokens
API to request a new pre-authorized token
Responses
200 OK
- id [string]: Unique ID of the authorization token
- code_identifier [string]: Generated code identifier which contains authorisation details
- shop_uid [string]: Unique ID of the shop
- status [string]: Status of the authorization token (
PENDING
) - reason [string]: The reason why the token has been required
- callback_url [string]: The url to be notified in case of change
- metadata [object]: Metadata inserted within the authorization request
- redirect_url [string]: Redirect url to the authorization page
400 Bad Request
- code [integer]: Error code
36
→ missing or invalid fields
173
→ user not fund for given number - message [string]: Error message
401 Unauthorized
- code [integer]: Error code
34
→ unauthorized - message [string]: Error message