curl --request POST \
--url https://api.mannco.store/payment/{provider} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "balance",
"value": 10000,
"tos_timestamp": 1706745600,
"payment_method": null
}
'{
"err": false,
"success": true,
"content": {
"url": "https://payment-provider.example/checkout/..."
}
}Create payment session
Initiates a payment. The server validates the body with the provider, records the transaction, and returns a redirect URL or a success message. Use type: balance to add credit or type: items to pay for listed items. The mannco provider only supports type: items.
Permission: Connected + API.
curl --request POST \
--url https://api.mannco.store/payment/{provider} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "balance",
"value": 10000,
"tos_timestamp": 1706745600,
"payment_method": null
}
'{
"err": false,
"success": true,
"content": {
"url": "https://payment-provider.example/checkout/..."
}
}Authorizations
JWT obtained from POST /user/login
Path Parameters
payviox (card / external checkout) or mannco (on-site balance)
payviox, mannco Body
balance (add credit) or items (pay for listed items)
balance, items Client timestamp of Terms of Service acceptance
For type=balance: amount in cents to add
For type=items: comma-separated Steam assetId values
Optional provider-specific payment method id
Response
Payment initiated
Standard Mannco.store response envelope. err and success flag the outcome; the payload (or error message) is always under content.