Pixel Art Creator
Pixel Art Creator · Ações GPT
Charge user
Charges the user before making the image.
GET /api/checkUserApiKeyChargeUserCharge the user, if the response get an error, don't create the image, otherwise inform the user about the credits in their account
GET /api/createChatgptPaymentUrlCreatePaymentSessionCreate payment url for getting the userToken after payment
Esquema API original
{
"openapi": "3.1.0",
"info": {
"title": "Charge user",
"description": "Charges the user before making the image.",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://monetizeassistants.com/"
}
],
"paths": {
"/api/checkUserApiKey": {
"get": {
"description": "Charge the user, if the response get an error, don't create the image, otherwise inform the user about the credits in their account",
"operationId": "ChargeUser",
"parameters": [
{
"name": "userToken",
"in": "query",
"description": "User's token provided by the user",
"required": true,
"schema": {
"type": "string"
}
}
],
"deprecated": false
}
},
"/api/createChatgptPaymentUrl": {
"get": {
"description": "Create payment url for getting the userToken after payment",
"operationId": "CreatePaymentSession",
"parameters": [],
"deprecated": false
}
}
},
"components": {
"schemas": {}
}
}