curl --request GET \
--url https://api.unibee.top/merchant/payment/method_get \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"method": {
"data": {},
"id": "<string>",
"isDefault": true,
"type": "<string>"
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
The method of payment gateway
curl --request GET \
--url https://api.unibee.top/merchant/payment/method_get \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"method": {
"data": {},
"id": "<string>",
"isDefault": true,
"type": "<string>"
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The unique id of gateway
The customer's unique id
The unique id of payment method
The response is of type object
.