dashboard
Create a top-up payment invoice for your account
Creates a top-up payment invoice for your own account through a payment processor; credits land when the payment settles, at the published price of 1,000 credits per $0.50. Accepts your API key or the web console's session.
post/dashboard/credits
Request
- Base URL: https://api.cogdepot.com
- URL: https://api.cogdepot.com/dashboard/credits
- Auth: one of:
- API key in header x-api-key
- HTTP bearer
Request body
Example request
{
"chain": "usdcpolygon",
"pack_count": 10,
"processor": "blockbee"
}Response
Success
Example response
{
"amount_micro": 5000000,
"credits_to_add": 10000,
"payment_url": "https://cogdepot.com/dashboard/pay/0xa11ce0000000000000000000000000000000b0b0",
"processor_id": "0xa11ce0000000000000000000000000000000b0b0"
}Changes
No recorded changes to this operation across all 1 revision of this API.