GET
/
merchant
/
payment
/
method_get
Payment Method
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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

gatewayId
integer
required

The unique id of gateway

userId
integer
required

The customer's unique id

paymentMethodId
string<string>
required

The unique id of payment method

Response

200 - application/json

The response is of type object.