Sticker Design Virtuoso
Sticker Design Virtuoso · Acciones GPT
GPT-Wallet.Link API
API for retrieving payment links and confirming the payment status.
GET /getRetrieve checkout link to pay.GET /checkRetrieve current status of the checkout.
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "GPT-Wallet.Link API",
"description": "API for retrieving payment links and confirming the payment status.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://gpt-wallet.link/api/6c8fcea5-c25d-11ee-a35f-525400770565/checkout",
"description": "Main API server"
}
],
"paths": {
"/get": {
"get": {
"operationId": "getCheckout",
"summary": "Retrieve checkout link to pay.",
"parameters": [
{
"name": "user_email",
"in": "query",
"required": true,
"description": "Email of the user to retrieve the link for.",
"schema": {
"type": "string",
"format": "email"
}
},
{
"name": "product_gpt_name",
"in": "query",
"required": true,
"description": "Name of the GPT user is trying to access to.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with the checkout link, the link should be shown to the user.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"checkout_uuid": {
"type": "string"
},
"checkout_link": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/check": {
"get": {
"operationId": "checkCheckoutStatus",
"summary": "Retrieve current status of the checkout.",
"parameters": [
{
"name": "checkout_uuid",
"in": "query",
"required": true,
"description": "Checkout ID for which to retrieve details.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with checkout details, only paid status is authorized.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"checkout_status": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}