Pay opened amount

POST /api-v1/billing/pay

Headers

  • TARGET-ORGANIZATION-ID integer(int32)

    ID of organization, for which the operation must be performed

  • WEAL-TOKEN string Required

    API token (can be retrieved from account settings)

application/json

Body Required

paymentRequest

  • browserInfo object
    Hide browserInfo attributes Show browserInfo attributes object
    • browserAcceptHeader string
    • browserColorDepth string
    • browserJavaEnabled string
    • browserLanguage string
    • browserScreenHeight string
    • browserScreenWidth string
    • browserTimeZone string
    • browserUserAgent string
  • cardInfo object
    Hide cardInfo attributes Show cardInfo attributes object
    • cardNumber integer
    • cardholderName string
    • cvv string
    • expiryMonth integer(int32)
    • expiryYear integer(int32)
  • modifyPaymentMethod boolean
  • nonInteractive boolean
  • redirectUrl object
    Hide redirectUrl attributes Show redirectUrl attributes object
    • acceptUrl string
    • declineUrl string
    • exceptionUrl string

Responses

  • 200 */*

    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/pay
curl \
 --request POST 'https://wyzio.app/api-v1/billing/pay' \
 --header "Content-Type: application/json" \
 --header "TARGET-ORGANIZATION-ID: 42" \
 --header "WEAL-TOKEN: string" \
 --data '{"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},"modifyPaymentMethod":true,"nonInteractive":true,"redirectUrl":{"acceptUrl":"string","declineUrl":"string","exceptionUrl":"string"}}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string

# Payload
{
  "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
  },
  "modifyPaymentMethod": true,
  "nonInteractive": true,
  "redirectUrl": {
    "acceptUrl": "string",
    "declineUrl": "string",
    "exceptionUrl": "string"
  }
}
Response examples (200)
{}