Download OpenAPI specification:
Returns the list of available payment instruments for the specified merchant.
| limit | string Example: limit=10 The maximum number of records to return. |
| offset | string Example: offset=20 The number of records to skip. |
| payment_types | Array of strings Example: payment_types=card2card&payment_types=sbp Filter results by one or more payment types. |
| currencies | Array of strings Example: currencies=USD,RUB Filter results by one or more currency codes. |
{- "items": [
- {
- "payment_type": "card2card",
- "payment_title": "Transfer money from one bank card to another",
- "required_fields_for_payment": {
- "deposit": [
- "customer.id"
], - "withdrawal": [
- "requisites.card_holder, customer.id, requisites.card_number"
]
}, - "currency": "RUB",
- "financial_institution": {
- "institution_type": "BANK",
- "name": "Sberbank",
- "code": "sberbank",
- "reference": "100000000111",
- "country": "RU",
- "bin": null
}
}, - {
- "payment_type": "sbp",
- "payment_title": "Instant payment via Russia’s Faster Payments System (SBP)",
- "required_fields_for_payment": {
- "deposit": [
- "customer.id"
], - "withdrawal": [
- "customer.id, financial_institution.code, requisites.phone_number"
]
}, - "currency": "RUB",
- "financial_institution": {
- "institution_type": "BANK",
- "name": "Sberbank",
- "code": "sberbank",
- "reference": "100000000111",
- "country": "RU",
- "bin": null
}
}
], - "pagination": {
- "limit": 0,
- "offset": 0,
- "total_count": 2
}
}Retrieves information about a specific transaction by ID.
| transaction_id required | string The unique identifier of the transaction to retrieve. |
{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "financial_institution": {
- "type": "bank",
- "code": "sberbank",
- "reference": "100000000008",
- "bin": "415429",
- "country": "RU"
}, - "requisites": {
- "card_number": "2200240000000000",
- "card_holder": "Ivanov I."
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "151000",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}Retrieves information about a specific transaction by ID transaction merchant system
| external_id required | string The unique identifier of the transaction in merchant system to retrieve. |
{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "financial_institution": {
- "type": "bank",
- "code": "sberbank",
- "reference": "100000000008",
- "bin": "415429",
- "country": "RU"
}, - "requisites": {
- "card_number": "2200240000000000",
- "card_holder": "Ivanov I."
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "151000",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}Synchronous Host to Host workflow to process funds deposit operation version 2.
Creates a new transaction within the P2P protocol (deposit).
| process required | string Value: "h2h" Example: process=h2h Transaction operation mode |
| external_id required | string external_id in merchant system |
| payment_type required | string Payment Type for transaction |
object Financial Institute. For example "bank" | |
| description | string Description for payout |
required | object |
| callback_url | string <uri> Callback URL |
required | object |
{- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "card2card",
- "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}, - "amounts": {
- "source": "150000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "financial_institution": {
- "type": "BANK",
- "code": "vtb",
- "reference": "100000000005",
- "bin": "220024",
- "country": "RU"
}, - "requisites": {
- "card_number": "2200240000000000",
- "card_holder": "Ivanov I."
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397"
}, - "amounts": {
- "source": "150300",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "success",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "description": "test deposit",
- "fees": [
- {
- "type": "platform",
- "amount": "10",
- "currency": "USDT"
}
], - "amounts": {
- "source": 150100,
- "source_origin": 150100,
- "source_currency": "RUB",
- "destination": "20.8472",
- "destination_currency": "USDT",
- "fx_rate": "72"
}
}Confirms the transaction by its identifier using a confirmation code (e.g., OTP).
| transactionId required | string The unique identifier of the transaction to confirm. |
| confirm_code | string The confirmation code value (e.g., OTP, etc.) |
| confirm_type | string Type of confirmation (e.g., OTP) |
{- "confirm_code": "1111",
- "confirm_type": "OTP"
}{- "error": "invalid_request",
- "error_description": "Invalid request syntax. Make sure your request matches the example in the documentation."
}Confirms the transaction by its identifier in the system merchant using a confirmation code (e.g., OTP).
| external_id required | string The unique identifier of the transaction in the system merchant to confirm. |
| confirm_code | string The confirmation code value (e.g., OTP, etc.) |
| confirm_type | string Type of confirmation (e.g., OTP) |
{- "confirm_code": "1111",
- "confirm_type": "OTP"
}{- "error": "invalid_request",
- "error_description": "Invalid request syntax. Make sure your request matches the example in the documentation."
}Cancels the transaction by its identifier. Can only be used for transactions in a cancellable state.
| transactionId required | string The unique identifier of the transaction to cancel. |
| reason | string description about cancel |
{- "reason": "string"
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "cancelled by customer",
- "reason": "cancelled by customer",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "financial_institution": {
- "type": "BANK",
- "code": "vtb",
- "reference": "100000000005",
- "bin": "220024",
- "country": "RU"
}, - "description": "string",
- "requisites": {
- "card_number": "2200240000000000",
- "card_holder": "Ivanov I."
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397"
}, - "amounts": {
- "source": "150300",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}Cancels the transaction by its identifier in the system merchant. Can only be used for transactions in a cancellable state.
| external_id required | string The unique identifier of the transaction to cancel. |
| reason | string description about cancel |
{- "reason": "string"
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "cancelled by customer",
- "reason": "cancelled by customer",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "financial_institution": {
- "type": "BANK",
- "code": "vtb",
- "reference": "100000000005",
- "bin": "220024",
- "country": "RU"
}, - "description": "string",
- "requisites": {
- "card_number": "2200240000000000",
- "card_holder": "Ivanov I."
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397"
}, - "amounts": {
- "source": "150300",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}Synchronous Host to Host workflow to process funds withdrawal operation version 2.
Creates a new transaction within the P2P protocol (payout).
| external_id required | string external_id in merchant system |
| payment_type required | string Payment Type for transaction |
object Financial Institute. For example "bank" | |
| description | string Description for payout |
required | object |
required | object |
| callback_url | string <uri> Callback URL |
required | object |
{- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "bank_account_number",
- "financial_institution": {
- "code": "sberbank"
}, - "requisites": {
- "account_number": "30301810000006000001",
- "account_name": "Ivan Ivanov"
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "150000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "bank_account_number",
- "financial_institution": {
- "type": "BANK",
- "code": "sberbank",
- "country": "RU"
}, - "requisites": {
- "account_number": "30301810000006000001",
- "account_name": "Ivan Ivanov"
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "150000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "success",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "description": "test deposit",
- "fees": [
- {
- "type": "platform",
- "amount": "10",
- "currency": "USDT"
}
], - "amounts": {
- "source": 150100,
- "source_origin": 150100,
- "source_currency": "RUB",
- "destination": "20.8472",
- "destination_currency": "USDT",
- "fx_rate": "72"
}
}Redirect workflow to process funds deposit operation version 2.
Creates a new transaction within the P2P protocol with redirection to the payment form (deposit).
| process required | string Value: "redirect" Example: process=redirect Transaction operation mode |
| external_id required | string external_id in merchant system |
| payment_type required | string Payment Type for transaction |
object Financial Institute. For example "bank" | |
| description | string Description for payout |
required | object |
| callback_url | string <uri> Callback URL |
object | |
required | object |
{- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "card2card",
- "customer": {
- "id": "b6d419e1-b658-4d60-8299-b75bada5b0bc"
}, - "redirect_urls": {
}, - "amounts": {
- "source": "120000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397"
}, - "redirect_urls": {
}, - "amounts": {
- "source": "150300",
- "source_origin": "150000",
- "source_currency": "RUB"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "success",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "card2card",
- "description": "test deposit",
- "fees": [
- {
- "type": "platform",
- "amount": "10",
- "currency": "USDT"
}
], - "amounts": {
- "source": 150100,
- "source_origin": 150000,
- "source_currency": "RUB",
- "destination": "20.8472",
- "destination_currency": "USDT",
- "fx_rate": "72"
}
}Retrieves information about a specific transaction by ID.
| transaction_id required | string The unique identifier of the transaction to retrieve. |
{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_local_all",
- "requisites": {
- "card_number": "1111222233334444",
- "card_holder": "IVAN IVANOV",
- "card_lifetime_month": "09",
- "card_lifetime_year": "30"
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "1500",
- "source_origin": "1500",
- "source_currency": "AZN"
}
}Retrieves information about a specific transaction by ID transaction merchant system
| external_id required | string The unique identifier of the transaction in merchant system to retrieve. |
{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "processing",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_local_all",
- "requisites": {
- "card_number": "1111222233334444",
- "card_holder": "IVAN IVANOV",
- "card_lifetime_month": "09",
- "card_lifetime_year": "30"
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-537794508397",
- "email": "customer@email.com",
- "first_name": "Ivan",
- "last_name": "Ivanov",
- "user_agent": "Mozilla/5.0 (platform; rv:gecko-version) Gecko/gecko-trail Firefox/firefox-version",
- "ip": "192.168.0.1",
- "created_at": "2025-07-28T09:48:34.572Z",
- "fingerprint": "b2cf59b36581399ebf54d4ab425ac4a"
}, - "amounts": {
- "source": "1500",
- "source_origin": "1500",
- "source_currency": "AZN"
}
}Host-to-host workflow for processing ecom type deposit transaction version 2.
Transaction creation is only possible for the following payment types:
ecom_local_all: is sent if the card data input form and the 3DS code input form are implemented in the merchant's system. In this case, the 3DS code is mandatorily sent via the API using the "Confirm" method.
ecom_local_card: is sent if the card data input form is implemented in the merchant's system, but the 3DS code input form is absent. In this case, after successful transaction creation, the response will contain a link to an external 3DS code input form.
Creates a new transaction within the Ecom protocol (deposit).
| process required | string Value: "h2h" Example: process=h2h Transaction operation mode |
| external_id required | string <uuid> external_id in merchant system |
| payment_type required | string Ecom Payment Type for transaction |
required | object |
| description | string Description |
required | object |
required | object |
| callback_url | string <uri> Callback URL |
{- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "ecom_local_all",
- "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}, - "amounts": {
- "source": "2000",
- "source_currency": "AZN"
}, - "requisites": {
- "card_number": "1111222211112222",
- "card_holder": "IVANOV IVAN",
- "card_cvc": "172",
- "card_lifetime_month": "06",
- "card_lifetime_year": "27"
},
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "waiting for confirmation",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_local_all",
- "requisites": {
- "card_number": "1111222211112222",
- "card_holder": "IVANOV IVAN",
- "card_lifetime_month": "06",
- "card_lifetime_year": "27"
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}, - "amounts": {
- "source": "2000",
- "source_origin": "2000",
- "source_currency": "AZN"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "success",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_local_all",
- "description": "test deposit",
- "fees": [
- {
- "type": "platform",
- "amount": "1",
- "currency": "USDT"
}
], - "amounts": {
- "source": 100000,
- "source_origin": 100000,
- "source_currency": "AZN",
- "destination": "4.81395349",
- "destination_currency": "USDT",
- "fx_rate": "1.72"
}
}Confirms a transaction by its identifier in the merchant's system (e.g. 3ds). Transaction confirmation is only available in the "waiting for confirmation" status and is required for payment_type: ecom_local_all
| external_id required | string The unique identifier of the transaction in the system merchant to confirm. |
| confirm_code | string The confirmation code value |
| confirm_type | string Type of confirmation (e.g., 3ds) |
{- "confirm_code": "1111",
- "confirm_type": "3ds"
}{- "error": "invalid_request",
- "error_description": "Invalid request syntax. Make sure your request matches the example in the documentation."
}Confirms a transaction by its identifier (e.g. 3ds). Transaction confirmation is only available in the "waiting for confirmation" status and is required for payment_type: ecom_local_all
| transaction_id required | string The unique identifier of the transaction to confirm. |
| confirm_code | string The confirmation code value |
| confirm_type | string Type of confirmation (e.g., 3ds) |
{- "confirm_code": "1111",
- "confirm_type": "3ds"
}{- "error": "invalid_request",
- "error_description": "Invalid request syntax. Make sure your request matches the example in the documentation."
}Redirect workflow for processing ecom type deposit transaction version 2.
Transaction creation is only possible for the following payment types:
ecom_platform_all: is sent if the card data input form and the 3DS code input form are not implemented in the merchant's system, and the NoName platform forms are used.
ecom_platform_card: is sent if the card data input form and the 3DS code input form are not implemented in the merchant's system, and the NoName platform's card data input form along with a third-party 3DS code input form are used.
ecom_noname: is sent for payment by card in ecom RUB
Creates a new transaction within the Ecom protocol (deposit).
| process required | string Value: "redirect" Example: process=redirect Transaction operation mode |
| external_id required | string <uuid> external_id in merchant system |
| payment_type required | string Ecom Payment Type for transaction |
required | object |
| description | string Description |
required | object |
| callback_url | string <uri> Callback URL |
object |
{- "external_id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "payment_type": "ecom_platform_all",
- "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}, - "amounts": {
- "source": "2000",
- "source_currency": "AZN"
}, - "redirect_urls": {
},
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "pending",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_platform_all",
- "redirect_urls": {
}, - "customer": {
- "id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}, - "amounts": {
- "source": "2000",
- "source_origin": "2000",
- "source_currency": "AZN"
}
}{- "transaction_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "created_at": "2025-07-31T09:48:34.572Z",
- "status": "success",
- "external_id": "449bc546-e589-4aca-83fd-287150955133",
- "payment_type": "ecom_platform_all",
- "description": "test deposit",
- "fees": [
- {
- "type": "platform",
- "amount": "1",
- "currency": "USDT"
}
], - "amounts": {
- "source": 100000,
- "source_origin": 100000,
- "source_currency": "AZN",
- "destination": "4.81395349",
- "destination_currency": "USDT",
- "fx_rate": "1.72"
}
}Synchronous Host to Host workflow to process funds deposit operation version 1 (not supported).
A webhook request sending order status changes.
Public RSA key of Moneygate System is:
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtFSx1aPxesUTi83VE68+
NLLIzaIUnZ9XU2E2Zl9NttnnJ5t8Rhv1UkcsAf1dPL4W0KcNVkoOexlJD4xGxI88
3GuQ+ol3wFv8heLf76JhB8yuvtz/qqHF+zMM9BPyr+hPdMwMDSzkAuC//9Bo/L6q
C0whrzNw1FRCw3XWNe6gAwJpecPF2kHxIr+m5XEWuXDVSjCQIA2fctj6iWthZTsu
skYeZa49r1SpLU4NKFwgZ9soxT8eldZz4dW2q6O3buGLWraaPju3jBA9YYGdvKHw
Si5XxYtoSjmpqqykWMizCWd7PcsQCffcO6QP4zU19l3Ef30+AZ5wFb328NTSQj8w
WQIDAQAB
-----END PUBLIC KEY-----
| id required | string Order ID in Merchant's system |
| blowfish_id required | string Order ID in Moneygate system |
| status_code required | integer Enum: 4 5 6 7 8 9 10 Payment order status codes:
|
| status required | string Order status text |
object |
{- "id": "449bc546-e589-4aca-83fd-453260574467",
- "blowfish_id": "700d6b67-de3a-4357-94a7-63b66527f99e",
- "amount": 50000,
- "currency": "RUB",
- "status": "success",
- "status_code": 4
}This step is optional.
Get a list of possible payment instruments.
You can skip this step if you have defined the values of properties: payment_type and bank.
The next step is :
Request body
| currency | string Currency alphabetic code according to ISO 4217 |
{- "currency": "RUB"
}{- "success": true,
- "data": {
- "payment_instruments": [
- {
- "bank": "raifru",
- "bank_name": "Райффайзенбанк",
- "payment_type": "card2card",
- "payment_type_name": "Перевод на карту",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}
}
}, - "required": [
- "customer_id"
]
}, - {
- "bank": "vtb",
- "bank_name": "ВТБ",
- "payment_type": "card2card",
- "payment_type_name": "Перевод на карту",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}, - "first_card_digits": {
- "type": "string",
- "description": "Четыре первые цифры вашей карты"
}, - "last_card_digits": {
- "type": "string",
- "description": "Четыре последние цифры вашей карты"
}
}
}, - "required": [
- "last_card_digits",
- "customer_id"
]
}, - {
- "bank": "sberbank",
- "bank_name": "Сбербанк",
- "payment_type": "account_number",
- "payment_type_name": "Перевод по номеру счета",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}
}
}, - "required": [
- "customer_id"
]
}, - {
- "bank": "alfa",
- "bank_name": "Альфа Банк",
- "payment_type": "sbp",
- "payment_type_name": "Перевод через СБП",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}, - "last_phone_digits": {
- "type": "string",
- "description": "Четыре последние цифры вашего телефона"
}
}
}, - "required": [
- "customer_id"
]
}
]
}
}This step is required.
Create order to deposit funds using the synchronous host-to-host protocol.
Request body
| id | string Order ID, generated in the merchant's system. Unique within their system |
| service_id | integer Service ID |
object |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "data": {
- "amount": 150000,
- "currency": "RUB",
- "payment_instrument": {
- "payment_type": "card2card"
}, - "customer_data": {
- "customer_id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca"
}
}
}{- "success": true,
- "id": "449bc546-e589-4aca-83fd-287150955133",
- "data": {
- "blowfish_id": "4b41beef-748f-4776-9463-04d85a8de2d4",
- "amount": 150300,
- "currency": "RUB",
- "origin_amount": 150000,
- "trader_schema": {
- "properties": {
- "card_holder": {
- "description": "Имя держателя карты",
- "type": "string"
}, - "card_no": {
- "description": "Номер карты получателя",
- "type": "string"
}
}, - "required": [
- "card_no"
], - "type": "object"
}, - "trader_data": {
- "bank": "vtb",
- "card_no": "1111111111110000",
- "card_holder": "Иван Иванович Иванов"
}
}
}This step is optional.
You can skip this step for deposit order. Then the order will be considered executed upon confirmation by the trader.
This API function should be called after the transfer of funds by a customer.
Request body
| id required | string Order ID in Merchant system |
object |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde"
}{- "success": true
}This API endpoint cancel an order.
Request body
| id required | string Order ID in Merchant System |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde"
}{- "success": true,
- "data": {
- "id": "449bc546-e589-4aca-83fd-689939638318",
- "blowfish_id": "269bcb4d-9a24-4b7a-b329-ef43ae1a875d"
}
}This API endpoint returns current order status and trader requisites.
Moneygate System also supports status transmission by callbacks
(if property callback_url has been set on Step 1).
Request body
| id required | string Order ID in Merchant System |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde"
}{- "id": "O-123-321",
- "status": "not found in the system",
- "status_code": -1
}Synchronous Host to Host workflow to process funds withdrawal operation version 1 (not supported).
This step is required.
Create order to withdrawal funds using the synchronous host-to-host protocol.
Request body
| id required | string Order ID, generated in the merchant's system. Unique within their system |
required | object |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "data": {
- "amount": 150000,
- "currency": "RUB",
- "payment_instrument": {
- "payment_type": "card2card",
- "bank": "tinkoff"
}, - "customer_data": {
- "customer_id": "2a1bc47b-38d2-4631-9f8c-0d497081f1ca",
- "card_no": "1111222233334444",
- "card_holder_name": "Иван Иванов"
}
}
}{- "success": true,
- "id": "449bc546-e589-4aca-83fd-387498270450",
- "data": {
- "blowfish_id": "449bc546-e589-4aca-83fd-387498270450"
}
}This API endpoint returns current order status and trader requisites.
Moneygate System also supports status transmission by callbacks
(if property callback_url has been set on Step 1).
Request body
| id required | string Order ID in Merchant System |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde"
}{- "id": "O-123-321",
- "status": "not found",
- "status_code": -1
}Redirect workflow to process funds deposit operation version 1 (not supported).
A webhook request sending order status changes.
Public RSA key of Moneygate System is:
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtFSx1aPxesUTi83VE68+
NLLIzaIUnZ9XU2E2Zl9NttnnJ5t8Rhv1UkcsAf1dPL4W0KcNVkoOexlJD4xGxI88
3GuQ+ol3wFv8heLf76JhB8yuvtz/qqHF+zMM9BPyr+hPdMwMDSzkAuC//9Bo/L6q
C0whrzNw1FRCw3XWNe6gAwJpecPF2kHxIr+m5XEWuXDVSjCQIA2fctj6iWthZTsu
skYeZa49r1SpLU4NKFwgZ9soxT8eldZz4dW2q6O3buGLWraaPju3jBA9YYGdvKHw
Si5XxYtoSjmpqqykWMizCWd7PcsQCffcO6QP4zU19l3Ef30+AZ5wFb328NTSQj8w
WQIDAQAB
-----END PUBLIC KEY-----
| id required | string Order ID in Merchant's system |
| blowfish_id required | string Order ID in Moneygate system |
| status_code required | integer Enum: 4 5 6 7 8 9 10 Payment order status codes:
|
| status required | string Order status text |
object |
{- "id": "449bc546-e589-4aca-83fd-453260574467",
- "blowfish_id": "700d6b67-de3a-4357-94a7-63b66527f99e",
- "amount": 50000,
- "currency": "RUB",
- "status": "success",
- "status_code": 4
}This step is optional.
Get a list of possible payment instruments.
You can skip this step if you have defined the values of properties: payment_type and bank.
The next step is :
Request body
| currency | string Currency alphabetic code according to ISO 4217 |
{- "currency": "RUB"
}{- "success": true,
- "data": {
- "payment_instruments": [
- {
- "bank": "raifru",
- "bank_name": "Райффайзенбанк",
- "payment_type": "card2card",
- "payment_type_name": "Перевод на карту",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}
}
}, - "required": [
- "customer_id"
]
}, - {
- "bank": "vtb",
- "bank_name": "ВТБ",
- "payment_type": "card2card",
- "payment_type_name": "Перевод на карту",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}, - "first_card_digits": {
- "type": "string",
- "description": "Четыре первые цифры вашей карты"
}, - "last_card_digits": {
- "type": "string",
- "description": "Четыре последние цифры вашей карты"
}
}
}, - "required": [
- "last_card_digits",
- "customer_id"
]
}, - {
- "bank": "sberbank",
- "bank_name": "Сбербанк",
- "payment_type": "account_number",
- "payment_type_name": "Перевод по номеру счета",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}
}
}, - "required": [
- "customer_id"
]
}, - {
- "bank": "alfa",
- "bank_name": "Альфа Банк",
- "payment_type": "sbp",
- "payment_type_name": "Перевод через СБП",
- "customer_schema": {
- "type": "object",
- "properties": {
- "customer_id": {
- "type": "string",
- "description": "Идентификатор клиента"
}, - "customer_fullname": {
- "type": "string",
- "description": "Полное имя клиента"
}, - "last_phone_digits": {
- "type": "string",
- "description": "Четыре последние цифры вашего телефона"
}
}
}, - "required": [
- "customer_id"
]
}
]
}
}This step is required. Create order to deposit funds using the redirect protocol.
Request body
| id required | string Order ID. Generated by the merchant's system |
| service_id | integer Service ID |
required | object |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde",
- "data": {
- "amount": 100000,
- "currency": "RUB",
- "customer_data": {
- "customer_id": "b6d419e1-b658-4d60-8299-b75bada5b0bc"
}
}
}{- "success": true,
- "id": "449bc546-e589-4aca-83fd-278763832861",
- "data": {
- "blowfish_id": "ac0171c2-2ecc-4f5d-9c0e-78609af0c732",
}
}This API endpoint returns current order status and trader requisites.
Moneygate System also supports status transmission by callbacks
(if property callback_url has been set on Step 1).
Request body
| id required | string Order ID in Merchant System |
{- "id": "449bc546-e589-4aca-83fd-b41c2e03fbde"
}{- "id": "O-123-321",
- "status": "not found in the system",
- "status_code": -1
}