Modify batch of billing plans and pay

POST /api-v1/billing/adjust-and-pay

Headers

Body Required

request

Responses

POST /api-v1/billing/adjust-and-pay
curl \
 -X POST http://wyzio.app/api-v1/billing/adjust-and-pay \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string" \
 -d '{"billingPlans":[{"billingUnitAmount":42,"billingUnitType":"ORGANIZATION"}],"paymentRequest":{"browserInfo":{"browserAcceptHeader":"string","browserColorDepth":"string","browserJavaEnabled":"string","browserLanguage":"string","browserScreenHeight":"string","browserScreenWidth":"string","browserTimeZone":"string","browserUserAgent":"string"},"cardInfo":{"cardNumber":42,"cardholderName":"string","cvv":"string","expiryMonth":42,"expiryYear":42},"nonInteractive":true,"redirectUrl":{"acceptUrl":"string","declineUrl":"string","exceptionUrl":"string"}}}'
Request example
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

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