Payments
Payments
Upload an invoice file (PDF, image) for a specific payment record
Payment ID
Invoice file (PDF, JPEG, PNG, JPG, GIF)
Invoice file uploaded successfully
Validation error
Admin endpoint to approve or reject a pending payment request
Payment ID
Payment approval status
Payment status updated successfully
Payment not pending or unauthorized
Server error
Organization UUID
Amount to charge
1000Service type
smsPossible values: Required when service is 'sms'. Number of SMS points
100Optional reason for the charge
Monthly SMS packageCharge processed successfully
Validation error
Error processing charge
This endpoint processes a checkout request, calculates the total amount including tax, determines SMS points if applicable, and generates a payment URL.
The service type (sms or other)
smsThe amount to be processed
100Payment URL Generated
Payment Online Disabled
Validation Error(s)
Internal Server Error
This endpoint handles the callback from URWay after a payment attempt.
Payment ID
Tracking ID
Transaction ID
Payment result
Response code from payment gateway
Response hash for validation
Brand of the card used for payment
Amount paid
Masked PAN of the card
Type of payment (e.g., CreditCard)
Additional user data, typically in JSON format
Payment processed successfully
No content
Unauthorized or failed payment
Server error
No content
This endpoint calculates the total amount for a specified service (e.g., SMS or Other) including tax or other operations.
The service type (sms or other)
smsThe amount to be processed
100Success
Validation Error(s)
Internal Server Error
Allows a user to submit a conversion request, which must be approved by an admin.
100points_to_currencyPossible values: Conversion request submitted successfully
Unauthorized
Validation or processing error
Create a payment request for a plan through payment gateway
Organization ID
Plan ID
Payment URL generated successfully
Validation error
Plan does not belong to organization
Handle the payment gateway callback after payment processing
Organization ID
Redirect to payment status page
Payment validation failed
No content
Submit a bank transfer request for purchasing a plan with receipt attachment
Organization ID
Plan ID
Receipt attachment image
Charge request created successfully
Validation error
Plan does not belong to organization
Last updated