account

Miniprogram Wechat

Changed on
post/account/login-methods/wechat/miniprogram

Request

  • Base URL
    https://api.beatra.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

authorization, string nullable

Request body

MiniprogramWechatRequest required
purpose, 'link' | 'reauth' | 'merge' required
entry, 'row' | 'conflict' | 'wallet' | 'support_link' | 'notice'
js_code, string required
ref, string nullable
proof, string nullable

Response

Successful Response

LinkResultResponse required
outcome, 'bound' | 'changed' | 'already_yours' | 'conflict' | 'verified' | 'unbound' | 'unclaimed' required
kind, 'wechat' | 'phone' | 'email' | 'google' | 'apple' required
value, string nullable required
old_value, string nullable
proof, string nullable
proof_expires_in, integer nullable
merge_offer, string nullable
bind_token, string nullable

Changes

    • info

      added the new notice enum value to the request property entry

    • warning

      added the new unclaimed enum value to the outcome response property for the response status

    • info

      added the new optional request property entry

    3 more changes in this revision