curl --request GET \
--url https://staging-api.getpartna.com/v4/user/apikey-scope \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"GetOnly": "G",
"Master": "M",
"NoWithdrawal": "N",
"Withdrawal": "W"
},
"message": "success"
}
Get the valid scopes for API jey generation.
curl --request GET \
--url https://staging-api.getpartna.com/v4/user/apikey-scope \
--header 'x-api-key: <api-key>' \
--header 'x-api-user: <api-key>'
{
"data": {
"GetOnly": "G",
"Master": "M",
"NoWithdrawal": "N",
"Withdrawal": "W"
},
"message": "success"
}