Process payment result for the user
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
API token (can be retrieved from account settings)
POST /api-v1/billing/pay-result
curl \
-X POST http://wyzio.app/api-v1/billing/pay-result \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string" \
-d '{"paymentId":"string","success":true}'
Request examples
# Headers
TARGET-ORGANIZATION-ID: 42
WEAL-TOKEN: string
# Payload
{
"paymentId": "string",
"success": true
}
Response examples (200)
{}