Modify batch of billing plans and pay

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
"Wyzio MCP server": {
  "url": "https://restapi.wyzio.com/mcp"
}
Close
POST /api-v1/billing/adjust-and-pay

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

application/json

Body Required

  • paymentRequest object
    Hide paymentRequest attributes Show paymentRequest attributes object
    • cardInfo object
      Hide cardInfo attributes Show cardInfo attributes object
      • cardNumber integer Required
      • cardholderName string

        Minimum length is 1.

      • cvv string

        Minimum length is 1.

      • expiryMonth integer(int32) Required
      • expiryYear integer(int32) Required
    • browserInfo object
      Hide browserInfo attributes Show browserInfo attributes object
      • browserAcceptHeader string Required
      • browserColorDepth string Required
      • browserJavaEnabled string Required
      • browserLanguage string Required
      • browserScreenHeight string Required
      • browserScreenWidth string Required
      • browserTimeZone string Required
      • browserUserAgent string Required
    • redirectUrl object Required
      Hide redirectUrl attributes Show redirectUrl attributes object
      • acceptUrl string

        Minimum length is 1.

      • declineUrl string

        Minimum length is 1.

      • exceptionUrl string

        Minimum length is 1.

    • nonInteractive boolean
    • modifyPaymentMethod boolean
  • billingPlans array[object]
    Hide billingPlans attributes Show billingPlans attributes object
    • billingUnitAmount integer
    • billingUnitType string Required

      Values are ORGANIZATION, EMPLOYEE, or PERSON.

Responses

  • 200 application/json

    OK

  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

POST /api-v1/billing/adjust-and-pay
curl \
 --request POST 'https://wyzio.app/api-v1/billing/adjust-and-pay' \
 --header "Content-Type: application/json" \
 --data '{"paymentRequest":{"cardInfo":{"cardNumber":42,"cardholderName":"string","cvv":"string","expiryMonth":42,"expiryYear":42},"browserInfo":{"browserAcceptHeader":"string","browserColorDepth":"string","browserJavaEnabled":"string","browserLanguage":"string","browserScreenHeight":"string","browserScreenWidth":"string","browserTimeZone":"string","browserUserAgent":"string"},"redirectUrl":{"acceptUrl":"string","declineUrl":"string","exceptionUrl":"string"},"nonInteractive":true,"modifyPaymentMethod":true},"billingPlans":[{"billingUnitAmount":42,"billingUnitType":"ORGANIZATION"}]}'
Request examples
# Headers

# Payload
{
  "paymentRequest": {
    "cardInfo": {
      "cardNumber": 42,
      "cardholderName": "string",
      "cvv": "string",
      "expiryMonth": 42,
      "expiryYear": 42
    },
    "browserInfo": {
      "browserAcceptHeader": "string",
      "browserColorDepth": "string",
      "browserJavaEnabled": "string",
      "browserLanguage": "string",
      "browserScreenHeight": "string",
      "browserScreenWidth": "string",
      "browserTimeZone": "string",
      "browserUserAgent": "string"
    },
    "redirectUrl": {
      "acceptUrl": "string",
      "declineUrl": "string",
      "exceptionUrl": "string"
    },
    "nonInteractive": true,
    "modifyPaymentMethod": true
  },
  "billingPlans": [
    {
      "billingUnitAmount": 42,
      "billingUnitType": "ORGANIZATION"
    }
  ]
}
Response examples (200)
{}