Modify payment info for the user

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
PATCH /api-v1/billing/payment-info

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

  • 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

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

PATCH /api-v1/billing/payment-info
curl \
 --request PATCH 'https://wyzio.app/api-v1/billing/payment-info' \
 --header "Content-Type: application/json" \
 --data '{"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}'
Request examples
# Headers

# Payload
{
  "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
}
Response examples (200)
{}