Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
POST
/api-v1/billing/adjust-and-pay
curl \
--request POST 'https://wyzio.app/api-v1/billing/adjust-and-pay' \
--header "Content-Type: application/json" \
--header "WEAL-TOKEN: string" \
--header "TARGET-ORGANIZATION-ID: 42" \
--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
WEAL-TOKEN: string
TARGET-ORGANIZATION-ID: 42
# 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)
{}