curl --request POST \
--url https://api.unibee.top/merchant/payment/method_new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<string>",
"gatewayId": 123,
"metadata": {},
"redirectUrl": "<string>",
"subscriptionId": "<string>",
"type": "<string>",
"userId": 123
}'
{
"code": 123,
"data": {
"method": {
"data": {},
"id": "<string>",
"isDefault": true,
"type": "<string>"
},
"url": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
curl --request POST \
--url https://api.unibee.top/merchant/payment/method_new \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currency": "<string>",
"gatewayId": 123,
"metadata": {},
"redirectUrl": "<string>",
"subscriptionId": "<string>",
"type": "<string>",
"userId": 123
}'
{
"code": 123,
"data": {
"method": {
"data": {},
"id": "<string>",
"isDefault": true,
"type": "<string>"
},
"url": "<string>"
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.