获取 API token
返回用于路由认证的 JWT 令牌。账户的 client_id 和 client_secret 通过 Basic Auth 在 mTLS 连接上发送。
POST
https://api.payzu.io/v1/tokenResponses
curl -X POST "https://api.payzu.io/v1/token" \ -H "Authorization: Bearer {{token}}" \ -H "Content-Type: application/json" \ -d '{}'const body = JSON.stringify({})fetch("https://api.payzu.io/v1/token", { method: "POST", headers: { "Content-Type": "application/json", "Authorization": "Bearer {{token}}" }, body})import requestsurl = "https://api.payzu.io/v1/token"body = """{}"""response = requests.request("POST", url, data = body, headers = { "Content-Type": "application/json", "Authorization": "Bearer {{token}}"})print(response.text)200