Pay opened amount

POST /api-v1/billing/pay

Headers

Body Required

paymentRequest

Responses

  • OK

    Additional properties are allowed.

  • 400 Bad Request

  • 401 Unauthorized

  • 403 Access Denied

  • 404 Not Found

  • 500 Internal Server Error

POST /api-v1/billing/pay
curl \
 -X POST http://10.10.10.132/api-v1/billing/pay \
 -H "TARGET-ORGANIZATION-ID: 42" \
 -H "WEAL-TOKEN: string" \
 -d '{"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)
{}