Create Customer Embed Token
POST
/partner/customer/tokenLast modified: a year ago
Maintainer:
Open embedded screen with authorization token
Test: https://embed.test.mintedconnect.com/auth?token={{token}}
Live: https://embed.mintedconnect.com/auth?token={{token}}
Please use retrieved data value as "{{token}}"
Request
Header Params
api-version
string
optional
Example:
2
Body Params application/json
external_id
string
required
Customer Id on partner
cash_balance
number
required
Customer Cash Wallet Balance
Example
{
"external_id": "{{external_customer_id}}"
}
Request samples
Responses
OK(200)
Record Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
required
token
string
required
Use this value as token
webview_url
string
required
Automatically Web View Url
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"token": "GazHL93wuDndvqz8v9CPKcBLlJnEwSsfY6L6uPcgAMWuxmGfC6waAGEDiASKRpjM",
"webview_url": "http://localhost:3000/auth?token=GazHL93wuDndvqz8v9CPKcBLlJnEwSsfY6L6uPcgAMWuxmGfC6waAGEDiASKRpjM"
},
"success": true,
"code": 0,
"message": ""
}
Last modified: a year ago