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