API Reference

GenerateToken

Request Body Parameters

S.NNameTypeDescriptionMandatory (M) , Optional (O)Provided by Pinwallet (Y/N)
1.userNameStringPartner Register Email AddressMY
2.passwordStringSecrets Key Provided By Pinwallet for AuthenticationMY
{
    "userName": "[email protected]",
    "password":"0d0410626c0f25e298992c3e018de65b0b13e7ae9fer077dd291c282a224f5aa7d"
}

{
    "responseCode": 200,
    "success": true,
    "message": "Token generated successfully.",
    "data": {
        "token": "eyJhbGciOiJIUzI1NiIserereInR5cCI6IkpXVCJ9.eyJzdWIiOiJuYW1pdDYwQGdtYWlsLmNvbSIsIm5hbWVpZCI6IjQiLCJlbWFpbCI6Im5hbWl0NjBAZ21haWwuY29tIiwianRpIjoiNmUzYmMzZjgtYjFiYS00YzExLTliOTAtZmI4Mzg3ZjdiMzVlIiwiZXhwIjoxNjc1NDE5MTIwLCJpc3MiOiJFenVsaXhiMmIiLCJhdWQiOiJFenVsaXhiMmIifQ.kEH5hEIVAutE09CEvq2Q62h3Yc8TVPAGwVip9aSgHig",
        "partner": {
            "id": 4,
            "name": "test",
            "email": "[email protected]",
            "phone": "9999999999"
        }
    }
}
{
    "responseCode": 401,
    "success": false,
    "message": "User not authorized.",
    "data": null
}
Language
Click Try It! to start a request and see the response here!