Skip to content

Application payment list🔗

Study the “General Information” and the “Signature Verification” sections first.

Getting a list of an application In-app payments which are created in the MRGS admin panel.

Parameters🔗

Parameter Method Value Mandatory Type Description
action GET application_payments yes string Command
appId GET 38 да number Application ID

Error codes🔗

Code Description
-30 Unexpected error. Contact technical specialists.
-31 Application ID not passed.

Request example🔗

https://mrgs.astrum.team/pub/s2s.php?action=application_payments&appId=38&format=json&hash=c6b2a8ccba886ba77f257978e5c22dc1

Payment flags:

  • 1 - Test payment
  • 2 - Payment for video
  • 4 - Subscription

Payments billing:

  • 0 - Google
  • 1 - Samsung
  • 2 - Amazon
  • 3 - MyStore
  • 4 - Bazaar

Response example🔗

{
    "status": 0,
    "error": "",
    "result": [
        {
            "id": 3054,
            "app_id": 38,
            "title_ru": "Подписка на месяц",
            "title_en": "Monthly subscription",
            "bundle_id": "ru.akeb.framework.subs1",
            "price": 0.00,
            "billing": 0,
            "flags": 4,
        },
        {
            "id": 3057,
            "app_id": 38,
            "title_ru": "Подписка на месяц Групповая",
            "title_en": "Group monthly subscription",
            "bundle_id": "ru.akeb.framework.subs10",
            "price": 1.00,
            "billing": 0,
            "flags": 4,
        },
        {
            "id": 3058,
            "app_id": 38,
            "title_ru": "Подписка на год Групповая",
            "title_en": "Group yearly subscription",
            "bundle_id": "ru.akeb.framework.subs11",
            "price": 15.00,
            "billing": 0,
            "flags": 4,
        }
    ]
}

Last update: 2025-01-21
Created: 2020-01-16