POST
/
merchant
/
payment
/
method_new
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>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json

The response is of type object.