router/api-router.go:133。controller.RequestWaffoPancakePay,controller/topup_waffo_pancake.go:342。wallet:write。同时需要满足接口的角色和业务要求。Authorization: Bearer ********************curl --location '/api/user/waffo-pancake/pay' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"amount": 0,
"property1": "string",
"property2": "string"
}'{
"data": {
"checkout_url": "string",
"expires_at": "string",
"order_id": null,
"session_id": "string",
"token": "string",
"token_expires_at": "string",
"property1": "string",
"property2": "string"
},
"message": "string",
"property1": "string",
"property2": "string"
}