MRC
Quick Start
- Sign up at mrc.ru and obtain API credentials
- Create a terminal in the Admin Console with the parameters below
- Start processing — the adapter is pre-built and ready to use
Overview
MRC payment integration
| Provider ID | mrc |
| Category | Card Processors |
| Website | mrc.ru |
Configuration
Required Parameters
| Parameter | Description |
|---|---|
client_id | client identifier for OAuth2 authorization |
client_secret | client secret for OAuth2 |
username | username for OAuth2 password grant |
password | password for OAuth2 password grant |
point_of_sales_id | POS identifier (POS) |
payment_system_id | payment system identifier for payments |
category_id | category identifier for payments |
Example Configuration
{
"channel": "dcb_kg",
"client_id": "your-client-id",
"client_secret": "your-client-secret",
"username": "your-username",
"password": "your_password",
"point_of_sales_id": "POS12345",
"payment_system_id": "PS001",
"category_id": "CAT002"
}
Payment Flow
Payments (one-phase):
ManyStep process from 3 sequential operations:
- create_payment - payment creation via
/multitransfer-payments-create/v3/payments/create:- Sending payment_system_id, category_id and amount
- Retrieval paymentId and paymentNum
- confirm_payment - confirmation payment via
/multitransfer-payments-state/v3/payments/confirm:- Sending paymentId
- Retrieval paymentSystemTransferNum
- process_card_payment - processing cards via
/multitransfer-processing/v3/transaction/confirm:- Sending data cards (pan, cvv, dateExpired, cardHolderName)
- Retrieval RRN and final status
All 3 step executed synchronously within a single call start_tx.
Payouts (two-phase):
Phase 1 - verify (create):
- Creation payout records via
/multitransfer-paidout-transfer/paidout/create - Sending full data beneficiary (lastName, firstName, citizenship, documents, addresses)
- Retrieval paidoutId and transferStatus
Phase 2 - commit (confirm):
- Payout confirmation via
/multitransfer-paidout-transfer/paidout/confirm - Sending paidoutId
- Final transfer execution
Status Mapping
| Provider Status | 4pay Status | Description |
|---|---|---|
CREATED | new | |
PROCESSING | charging | |
PROCESSED | charged | |
NEW_PAIDOUT | new | |
PAIDOUT | charged | |
REJECTED_PAIDOUT | rejected |