For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payment system

Payment system settings object and API calls for working with payment systems and make payments.

Payment system settings object

{
  "type": "rbkmoney",
  "url": "https:rbkmoney.com/acceptpurchase.aspx",
  "account": "John Doe",
  "currency": "EUR",
  "payment_code": "Navixy Demo",
  "subscription_code": "4671292",
  "methods": ["method1", "method2"],
  "prices": {
    "Loccate_default_pay_1": 0.99,
    "Loccate_default_pay_5": 4.99,
    "Loccate_default_pay_10": 9.99,
    "Loccate_default_pay_20": 19.99
  }
}
  • type - string. Payment system type.

  • url - string. URL to send payment info.

  • account - optional string. Dealer account in payment system (eshopId for RBK).

  • currency - string. 3-letter ISO 4217 currency code.

  • payment_code - optional string. Code for payments.

  • subscription_code - string. Subscription code. The same as "payment_code" for 2Checkout (formerly Avangate) but for subscriptions.

  • methods - optional string array. List of available payment methods (it may be empty).

  • prices - optional object with prices. For type == ios_inapp only.

API actions

API path: /payment_system.

list

Returns list of payment systems available for specified user.

required sub-user rights: payment_create.

Examples

Response

Errors

  • 201 – Not found in the database.

estimate/get

Returns the estimate of the monthly payment amount

required sub-user rights: payment_create.

Examples

Response

  • value - float. Payment amount, rounded up to hundreds for rubles or to tens for other currencies.

Last updated

Was this helpful?