Process payment result for the user

POST /api-v1/billing/pay-result

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

paymentResult

  • paymentId string
  • success boolean

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

# Payload
{
  "paymentId": "string",
  "success": true
}
Response examples (200)
{}