Payment Endpoints
Create Payment
Handles the payment creation process, including validation, checking for sales, handling virtual currency, and processing payments through various methods.
POST
/
payments
/
create
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
details
object
termsAndConditions
boolean
Whether the user has accepted the terms and conditions.
privacyPolicy
boolean
Whether the user has accepted the privacy policy.
paymentMethod
string
Selected payment method.
currency
string
Currency for the payment.
Response
200 - application/json
success
boolean
Indicates if the payment creation was successful.
data
object