AntiTempmail
  1. Account
AntiTempmail
  • Email Checks
    • Perform a single email risk assessment.
      POST
    • Perform multiple email risk assessments (up to 50).
      POST
  • Account
    • Get available credit packages
      GET
    • Create checkout session for purchasing credits
      POST
    • Get dashboard statistics
      GET
    • Fetch the current credit balance for the authenticated account.
      GET
    • List recent API usage entries.
      GET
  • test
    GET
  • Schemas
    • ApiMeta
    • ApiSuccessEnvelopeBase
    • ApiError
    • ApiErrorEnvelope
    • RiskSignal
    • EmailCheckRequest
    • EmailCheckResult
    • EmailCheckSuccessEnvelope
    • BatchSubmissionRequest
    • BulkEmailCheckRequest
    • BatchJobResponse
    • BulkEmailCheckSummary
    • CreditBalance
    • BulkEmailCheckResult
    • UsageEntry
    • BulkEmailCheckSuccessEnvelope
  1. Account

Create checkout session for purchasing credits

POST
/api/v1/credits/checkout
Create a Stripe checkout session for purchasing credits.
Returns a checkout URL to redirect the user to Stripe's payment page.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Example
{
    "packageId": "starter"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.antitempmail.com/api/v1/credits/checkout' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "packageId": "starter"
}'

Responses

🟢200OK
application/json
Checkout session created
Body

Example
{
    "url": "http://example.com"
}
🟠400Bad Request
🟠401Unauthorized
Modified at 2025-11-12 12:51:41
Previous
Get available credit packages
Next
Get dashboard statistics
Built with