Skip to main content

YooKassa

Quick Start
  1. Sign up at yookassa.ru and obtain API credentials
  2. Create a terminal in the Admin Console with the parameters below
  3. Start processing — the adapter is pre-built and ready to use

Go to YooKassa →

Overview

YooKassa payment integration

Provider IDyookassa
CategoryCard Processors
Websiteyookassa.ru

Authentication

Basic Auth:

  • Authorization: Basic base64(shop_id:secret_key)
  • Content-Type: application/json
  • Idempotence-Key: uuid (required for POST)

Configuration

Required Parameters

ParameterDescription
none1 (VAT-free)
vat02 (VAT 0%)
vat103 (VAT 10%)
vat204 (VAT 20%)
vat1105 (settlement 10/110)
vat1206 (settlement 20/120)

Example Configuration

{
"provider": "yookassa",
"provider_params": {
"shop_id": "123456",
"secret_key": "live_xxx...",
"webhook_url": "https://api.merchant.com/ext/yookassa/hook",
"fiscalization_mode": "inline",
"fiscalization_taxation": "osn",
"fiscalization_default_vat": "vat20"
}
}

Status Mapping

Provider Status4pay StatusDescription
pendingcharging
waiting_for_captureauthorized
succeededcharged
canceledfailed

Testing

Test Cards

CardNumberExpiryCVVResult
Success555555555555444412/30123Success
3DS400000000000306312/301233DS required
Decline400000000000000212/30123Declined

Resources