LogoLogo
  • Welcome to Akinon Documentation
  • Products
    • ACC
    • Omnitron
    • Commerce
    • Order Management System (OMS)
    • Instore
    • Integrator
    • Marketplace Dashboard (MPD)
    • Project Zero (PZ)
    • Seller Center
    • Akifast
    • App Maker
  • API Reference
    • Welcome to Akinon API Reference
  • Omnitron
    • Getting Started
    • Integration
      • Product
        • Product
        • Pre-Product
        • Attribute
        • Attribute Value
        • Attribute Set
        • Product Image
      • Price
        • Price List
        • Product Price
        • Currency Unit Table
      • Stock
        • Stock List
        • Product Stock
      • Order
        • Get Orders
        • Search Order
        • Get Order Detail by Order Number
        • Get Order Item Detail
        • Orders ID Detail Integration
        • Orders Waiting to Send to ERP
        • Update Order and Order Item
        • Stock Reservation Release
        • Order Cancellation
        • Cancellation & Refund Pending Orders
        • Order Discount Items
        • Order Status Codes & Cancellation Statuses
      • Migration
        • Getting Started
        • User Migration
        • Address Migration
        • Old Order Migration
        • Old Order Item Migration
        • View Migration Progress
        • Currency Options
    • PIM
      • Attributes & Sets
      • Mapping
      • Localization
      • Media
    • Catalogue
      • Introduction
      • Price List
      • Stock List
      • Catalogue Item
      • Category Trees
      • Product Collection
      • Product Sorting
    • Channels
      • Introduction
      • Payments
      • Customers
    • Order
      • Getting Started
      • Fulfillment
      • Cancellations & Refunds
    • Retail Stores
      • Retail Stores
    • User Management
      • Roles & Permissions
      • Add & Remove
    • Whippy Ware
      • Introduction
      • Stock
      • Stock Lists
      • Stock List Rules
      • Stock Providers
      • Stock Locations
  • Omnitron OpenAPIs
    • Without Server
      • Customers
      • Reporting
      • Deleted Items
      • Pos
      • AttributeValues
      • Attribute Values
      • Providers
      • LDAPProviders
      • Healthcheck
      • LoyaltyTransactions
      • Policies
      • Exports
      • Dashboard
      • AuthTOTP
      • Price Lists
      • ProductPrices
      • Districts
      • Cities
      • Countries
      • Townships
      • PrometheusMetrics
      • Language
      • Content Types
      • Mappings
      • Applications
      • ApplicationPermissions
      • Error Reports
      • MailTemplates
      • UploadLogo
      • SalesChannelMarketPlaceAttributeSetConfig
      • SalesChannelCancellationRequestImage
      • SalesChannelCities
      • SalesChannelCancellationReasons
      • SalesChannelCargoCompany
      • SalesChannelProductImage
      • SalesChannelAttributeConfig
      • SalesChannelAttributeValueConfig
      • SalesChannelTownships
      • SalesChannelCustomers
      • SalesChannelFailedIntegrations
      • SalesChannelGetStockList
      • SalesChannelRetailStore
      • IntegrationActions
      • SalesChannelOrderShippingInfo
      • SalesChannelBatchRequests
      • SalesChannelAddresses
      • SalesChannelMarketPlaceAttributeSet
      • SalesChannelErrorReports
      • SalesChannelCategoryNodes
      • SalesChannelDistricts
      • SalesChannelProductStock
      • SalesChannelExtraProductStock
      • SalesChannelOrders
      • SalesChannelCancellationPlans
      • SalesChannelExtraProductPrices
      • SalesChannelProduct
      • SalesChannelAttributeSchemas
      • SalesChannelProductCategories
      • SalesChannelCancellationRequests
      • SalesChannelMarketPlaceAttributeValue
      • SalesChannelMappedProduct
      • SalesChannelMarketPlaceAttribute
      • SalesChannelOrderItem
      • SalesChannelProductPrice
      • SalesChannelCreateOrder
      • GetPriceList
      • SalesChannelCountries
      • SalesChannelGetPriceList
      • SalesChannelCategoryTree
    • With Server
      • Customers
      • Reporting
      • Deleted Items
      • Pos
      • AttributeValues
      • Attribute Values
      • Providers
      • LDAPProviders
      • Healthcheck
      • LoyaltyTransactions
      • Policies
      • Exports
      • Dashboard
      • AuthTOTP
      • Price Lists
      • ProductPrices
      • Districts
      • Cities
      • Countries
      • Townships
      • PrometheusMetrics
      • Language
      • Mappings
      • Content Types
      • Applications
      • ApplicationPermissions
      • Error Reports
      • MailTemplates
      • UploadLogo
      • SalesChannelMarketPlaceAttributeSetConfig
      • SalesChannelCancellationRequestImage
      • SalesChannelCities
      • SalesChannelCancellationReasons
      • SalesChannelCargoCompany
      • SalesChannelProductImage
      • SalesChannelAttributeConfig
      • SalesChannelAttributeValueConfig
      • SalesChannelTownships
      • SalesChannelCustomers
      • SalesChannelFailedIntegrations
      • SalesChannelGetStockList
      • IntegrationActions
      • SalesChannelRetailStore
      • SalesChannelOrderShippingInfo
      • SalesChannelBatchRequests
      • SalesChannelAddresses
      • SalesChannelMarketPlaceAttributeSet
      • SalesChannelErrorReports
      • SalesChannelDistricts
      • SalesChannelCategoryNodes
      • SalesChannelProductStock
      • SalesChannelExtraProductStock
      • SalesChannelCountries
      • SalesChannelOrders
      • SalesChannelProduct
      • SalesChannelCancellationPlans
      • SalesChannelExtraProductPrices
      • SalesChannelProductCategories
      • SalesChannelAttributeSchemas
      • SalesChannelCancellationRequests
      • SalesChannelMarketPlaceAttributeValue
      • SalesChannelMappedProduct
      • SalesChannelMarketPlaceAttribute
      • SalesChannelOrderItem
      • SalesChannelProductPrice
      • SalesChannelCreateOrder
      • GetPriceList
      • SalesChannelGetPriceList
      • SalesChannelCategoryTree
  • Commerce
    • Users
      • Getting Started
      • User Management & Authentication
      • Password & OTP Operations
      • User Profile & Segment Management
      • User Payment & Card Management
      • User Orders & Cancellations
      • Anonymous User Orders & Cancellations
      • User Support & Conversation
      • Captcha Validation
      • Currency & Akifast Operations
    • Checkout
      • Payment Related
      • Payment Strategy Related
      • Shipping Related
      • Independent Pages
    • Product
    • User Collections
    • Basket
    • Discount
    • Autocomplete
    • Breadcrumb
    • Pretty URLs
    • Menu
    • Widgets
    • Loyalty Accounts
    • Address Migration
    • Index Configuration
    • Favourite Products
    • User Address
    • Data Warehouse
    • Introduction
      • Filtering Parameters
    • Data Warehouse
    • Default
  • OMS
    • Package Services
    • Package Item Services
    • Package Denial Reason Services
    • Order Services
    • Order Item Services
    • Transfer Order Services
    • Transfer Item Services
    • Channel Services
    • Cancellation Plan Services
    • Cancellation Reason Services
    • Address Setup Services
    • City Services
    • District Services
    • Township Services
    • Stock Location Address Services
    • Webhook Setup Services
    • Webhook Event Services
    • Omnitron Order Webhooks
    • Undelivered Webhook Event Services
    • Inventory Discrepancy Services
    • OMS Setup Services
    • UI Settings Services
    • OMS Audit Events Service
    • Customer Address Services
    • Application Settings Services
    • Content Type Services
    • Customer Services
    • Channel Setup Services
    • Demo Data Service
    • Order Execution Plan Services
    • Invoice Services
    • Localization Services
    • Action Log Services
    • Order Log Services
    • Celery Metrics Service
    • Stock Location Services
    • Stock Location Address Services
    • Stock Location Sender Address Services
    • Stock Location Sender Address Setup Services
    • Cargo Company Condition Services
    • Permission Group Services
  • Instore
    • Password Reset Services
  • Integrator
    • Projects
    • Flows
    • Logs
  • Seller Center
    • Languages
    • Categories
    • Introduction
    • Products
    • Packages
    • Orders
    • Claims
    • Shipping Methods
  • Akifast
    • Authentication
  • B2B
    • Quotation
    • Basket
    • Division
    • User
    • Staff User
    • Groups
    • Notification
    • Notification Template
  • Flows
    • Shipment Flows
    • Payment Flows
    • SMS Flows
    • Basket Offer Flows
Powered by GitBook

© 2025 Akinon. All rights reserved.

On this page
  • GET Captcha HTML Form
  • POST Captcha Validation
  • GET Captcha HTML Form for Project Zero
  • POST Captcha Validation for Project Zero

Was this helpful?

  1. Commerce
  2. Users

Captcha Validation

GET Captcha HTML Form

This endpoint retrieves a CAPTCHA HTML form to verify the authenticity of a user attempting to access or interact with the system. CAPTCHA is used as a security measure to prevent automated bots from performing malicious activities. The HTML response includes the necessary fields and scripts for displaying and submitting the CAPTCHA form.

Path: /users/captcha/

Authentication Required: No

Headers:

Accept-Language: <iso_language_code>
Accept: application/json

Example Request

import requests

headers = {
  'Accept-Language': '<iso_language_code>'
}

url = "https://{commerce_url}/users/captcha/"

response = requests.get(url)
print(response.json())

Example Response (200 OK)

{
  "html": "<h1 class=\"auth__form__title\">\n	DEVAM ETMEK İÇİN\n  </h1>\n<form method=\"post\">\n	<input type='hidden' name='csrfmiddlewaretoken' value=<token> />\n	<div class=\"g-recaptcha\"  data-sitekey=\"\" id=\"id_captcha\" required></div>\n	<script type=\"text/javascript\" src=\"https://www.google.com/recaptcha/api.js\"></script>\n	<input type=\"submit\" value=\"Devam et\">\n</form>"
}

Response Parameters

Property
Data Type
Description

html

String

Contains the CAPTCHA form as an HTML string, including the hidden CSRF token and Google reCAPTCHA widget.

POST Captcha Validation

This endpoint processes the CAPTCHA form submission to validate that the user is human. It verifies the Google reCAPTCHA response and the CSRF token, ensuring both are correct. Upon successful validation, the throttled IP is authorized to proceed with further actions.

Path: /users/captcha/

Authentication Required: No

Headers:

Content-Type: application/x-www-form-urlencoded
Accept-Language: <iso_language_code>
x-csrftoken: <token>

Body Parameters

Property
Data Type
Required
Description

csrfmiddlewaretoken

string

True

The token included in the CAPTCHA form for CSRF protection.

g-recaptcha-response

string

True

The response token provided by Google after verifying the CAPTCHA.

Request Body

{
	"csrfmiddlewaretoken": "<your csrfmiddlewaretoken>",
	"g-recaptcha-response": "<your recaptcha response>"
}

Example Request

import requests

url = "https://www.converse.com.tr/users/captcha/"

payload = {
	"csrfmiddlewaretoken": "<your csrfmiddlewaretoken>",
	"g-recaptcha-response": "<your recaptcha response>"
}
headers = {
  'Content-Type': 'application/x-www-form-urlencoded',
  'Accept-Language': '<iso_language_code>'
  'x-csrftoken': '<token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Example Response (302 Found)

A successful validation that redirects the user to the next step or process.

{}

GET Captcha HTML Form for Project Zero

This endpoint retrieves a CAPTCHA HTML form to verify the authenticity of a user attempting to access or interact with the system. CAPTCHA serves as a security measure to prevent automated bots from carrying out malicious activities. The HTML response includes the necessary fields and scripts for displaying and submitting the CAPTCHA form.

Path: /users/pz-captcha/

Authentication Required: No

Headers:

Accept-Language: <iso_language_code>
Accept: application/json

Example Request

import requests

headers = {
  'Accept-Language': '<iso_language_code>'
}

url = "https://{commerce_url}/users/pz-captcha/"

response = requests.get(url)
print(response.json())

Example Response (200 OK)

{
    "html": "<h1 class=\"auth__form__title\">\n    DEVAM ETMEK İÇİN\n  </h1>\n<form method=\"post\">\n    <input type='hidden' name='csrfmiddlewaretoken' value='ZpnY581oNXa1fLa8eE9yOIHB3aUhBXWjNDVyZElJh9kMB7b3QMsoNbxnr8hf2xJs' />\n    <div class=\"g-recaptcha\"  data-sitekey=\"\" id=\"id_captcha\" required></div>\n    <script type=\"text/javascript\" src=\"https://www.google.com/recaptcha/api.js\"></script>\n    <input type=\"submit\" value=\"Devam et\">\n</form>"
}

Response Parameters:

Property
Data Type
Description

html

String

Contains the CAPTCHA form as an HTML string, which includes the hidden CSRF token and the Google reCAPTCHA widget.

POST Captcha Validation for Project Zero

This endpoint processes the CAPTCHA form submission to validate that the user is human. It verifies both the Google reCAPTCHA response and the CSRF token to ensure they are correct. Upon successful validation, the throttled IP is authorized to proceed with further actions.

Path: /users/pz-captcha/

Authentication Required: No

Headers:

Content-Type: application/x-www-form-urlencoded
Accept-Language: <iso_language_code>
x-csrftoken: <token>

Body Parameters

Property
Data Type
Required
Description

csrfmiddlewaretoken

string

True

The token included in the CAPTCHA form for CSRF protection.

g-recaptcha-response

string

True

The response token provided by Google after verifying the CAPTCHA.

Request Body

{
	"csrfmiddlewaretoken": "<your csrfmiddlewaretoken>",
	"g-recaptcha-response": "<your recaptcha response>"
}

Example Request

import requests

url = "https://www.converse.com.tr/users/pz-captcha/"

payload = {
	"csrfmiddlewaretoken": "<your csrfmiddlewaretoken>",
	"g-recaptcha-response": "<your recaptcha response>"
}
headers = {
  'Content-Type': 'application/x-www-form-urlencoded',
  'Accept-Language': '<iso_language_code>'
  'x-csrftoken': '<token>'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

Example Response (302 Found)

A successful validation that redirects the user to the next step or process.

{}
PreviousUser Support & ConversationNextCurrency & Akifast Operations

Was this helpful?