Skip to content

A1 Pay

The A1 Pay payment method lets customers pay for goods and services online using their A1 mobile balance.

Payment flow with widget integration

  1. The customer initiates a payment on the merchant's website.
  2. The customer selects A1Pay as the payment method on the payment widget.
  3. The widget displays a link to the A1 website.
  4. The customer gets redirected to A1 website where they log into their account or into their My A1 app and confirm the payment.
  5. After the payment has been processed, bePaid sends the merchant a notification containing the transaction result. If the transaction status is successful, the notification will contain transaction.payment.rrn parameter with the receipt identifier in the A1 system.
  6. The payment widget displays the final payment result.
Example of payment token request with personal data
{
    "checkout": {
        "test": false,
        "transaction_type": "payment",
        "attempts": 3,
        "settings": {
            "return_url": "http://example.com/return"
        },
        "order": {
            "currency": "BYN",
            "amount": 4299,
            "description": "Order description",
            "additional_data": {
                "customer_id_data": {
                    "personal_number": "1111111A222PB3"
                }
            }
        },
        "customer": {
            "birth_date": "1990-01-02"
        },
        "payment_method": {
            "types": [
                "a1pay"
            ],
            "a1pay": {
                "account_number": "375447100001"
            }
        }
    }
}

Payment flow with Server-to-Server integration

  1. The customer initiates a payment on the merchant's website.
  2. The merchant sends a payment request to bePaid.
  3. In response, bePaid returns a weblink to A1 website.
  4. The merchant displays the weblink to the customer.
  5. The customer follows the link to the A1 website, logs into their account or into their My A1 app, and confirms the payment.
  6. Once the payment has been processed, bePaid sends the merchant a webhook notification containing the transaction result. If the transaction status is successful, the notification will contain transaction.payment.rrn parameter with the transaction receipt identifier in the A1 system.
  7. The merchant returns an HTTP 200 OK response.
  8. The merchant sends a transaction query request.
  9. bePaid returns the transaction status.
  10. The merchant displays the final payment status to the customer.

Payment

Request

Send a payment request with the following additional parameters:

object
amount
required
bigInteger
Transaction amount in minimal currency units, for example, 5000 (50 rubles).
currency
required
string
BYN
description
required
string(255)
Short description of the order.
expired_at
string
Date and time until which the payment can be completed. Format (ISO 8601): YYYY-MM-DDThh:mm:ssTZD, where YYYY – year (for example, 2026), MM – month (for example, 02), DD – day (for example, 09), hh – hours (for example, 18), mm – minutes (for example, 20), ss – seconds (for example, 45), TZD – time zone (+hh:mm or –hh:mm). If omitted, the expiration time is determined by the default payment link and QR code lifetime configured for your gateway. Use this parameter to override the default expiration time for a specific payment.
return_url
required
string
URL to return the customer to when the transaction is completed.
object
A section of the payment method.
type
required
string
a1pay
account_number
string
Customer's phone number with 375 country code. We recommend providing a current phone number for the customer that is serviced by A1.
object
A section of the customer information.
birth_date
conditionally required
string
The customer's date of birth in the ISO 8601 YYYY-MM-DD format. The parameter is required if Personal Data Verification service (VPD) is activated for the shop with one of the following verification modes: Strict mode, Soft mode, or Strict mode by date of birth. The mode is set up by the manager and depends on the shop's business activity.
object
Section of additional information about the payment.
object
Information about the customer's personal identity document.
personal_number
conditionally required
string (50)
Personal number specified in the ID document. The parameter is required if Personal Data Verification service (VPD) is activated for the shop with one of the following verification modes: Strict mode or Strict mode by document. The mode is set up by the manager and depends on the shop's business activity.
Request example
{
    "request": {            
        "amount": 500,
        "currency": "BYN",
        "description": "description",
        "return_url": "https://return.com",            
        "method": {
            "type": "a1pay",
            "account_number": "+375291111111"
        }
    }
}
Request example with personal data
{
    "request": {            
        "amount": 500,
        "currency": "BYN",
        "description": "description",
        "return_url": "https://return.com",
        "customer": {              
          "birth_date": "1990-11-01"
        },
        "method": {
            "type": "a1pay",
            "account_number": "+375291111111"
        },
        "additional_data": {
          "customer_id_data": {
            "personal_number": "7654321A987PB6"
          }
        }
    }
}
Response

Use the value of the transaction.a1pay.web_url parameter to redirect the customer to the A1 website.

Additional response parameters for a1pay method are described in the table below:

object
object
rrn
string
Receipt identifier in the A1Pay system. The parameter is returned only in the webhook notification and in the response to the status query when the transaction status is successful.
object
web_url
string
URL linking to A1 website.
bank_number
string
Transaction reference number (RRN) in the A1Pay system. The parameter is returned only in the webhook notification and in the response to the status query when the transaction status is successful.
account_number
string
Customer's phone number from the request.
Response example with the pending transaction status
{
    "transaction": {
        "uid": "d989ce46-c8c5-48a5-aa4a-dba35833aae8",
        "type": "payment",
        "status": "pending",
        "amount": 500,
        "currency": "BYN",
        "description": "description",
        "created_at": "2026-08-28T13:15:39Z",
        "updated_at": "2026-08-28T13:15:40Z",
        "method_type": "a1pay",
        "receipt_url": "https://merchant.bepaid.by/customer/transactions/d989ce46-c8c5-48a5-aa4a-dba35833aae8/c0db3c0bfe37c8481213c9f04e6046c91003dabf325b903e12362abb6d06c421",
        "payment": {
            "status": "pending",
            "gateway_id": 7160,
            "ref_id": "f43ca66d-2c32-49f2-8b13-de62a0f415ba",
            "message": "Transaction was initialized."
        },
        "a1pay": {
            "type": "a1pay",
            "qr_code": "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAccAAAHHCAYAAADK/JOyAAAdz0lEQVR4nO3dX5CdZZ0n8N8JEYOkO9FxMea0Enda6MYZNrhFd9UMFqEIulvrOqGpqd2qRcN4wRaD8Wpnw0RrrywwXqwjAeaWOFh6MdNhnKlVi6DtDNRUQtWaGq0kjGwZtA8ylmDSnUACxLMX3R2Sp/u83X3S75vnPfl8qqwS3nPO+++c8+Xp8/s9T2NocLAdAMA5qy71AQBAboQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkhCMAJIQjACSEIwAkVle9wyM//WnVu1xxwx/+cMdt3Z5fXV6z2/0VKeP8ulV0LGWcXy+cQ5Eyzq9IL3y/FKn6/uWk6veSkSMAJIQjACSEIwAkhCMAJIQjACSEIwAkKm/lKFJ1qW6Rqlsdcmoh6Pbc61IuXvVx5lR+X8b7LKf2kLp8h1TdZlWkLtesakaOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkMiqlaNITqtIdKvq1RmK9HrrSBnl/mWcX9XtE0VyOr+q5fTezUkvfO92y8gRABLCEQASwhEAEsIRABLCEQASwhEAErVp5aiLXmjJ6HZ/Zcip7LuMdgbPW/7zulV1y1C36tLm0euMHAEgIRwBICEcASAhHAEgIRwBICEcASChlaNCdVm9oOry+6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OAJAQjgCQEI4AkBCOAJAovJWjiI5lfHmVIbdrZxWrai65L0u968u5fC9cI+qbnsq0gur6dTlOLtl5AgACeEIAAnhCAAJ4QgACeEIAAnhCACJxtDgYLvKHeZU7l/GKhI5Pa9bOZW110Wvt47kdG9zWumjSF3aPKpWl9V7jBwBICEcASAhHAEgIRwBICEcASAhHAEgkdWqHCxfTu0hVbcJdKsupeTdqvr8cmptKlL1va36NXO6Zjm1/nTLyBEAEsIRABLCEQASwhEAEsIRABLCEQASWjky0esl2kXq0gKSkzLuUdXviaqPsy6tB2W8r3O6ZnVh5AgACeEIAAnhCAAJ4QgACeEIAAnhCACJ2rRy5DRbe5Gc2hJyavOo+rqUscJEGc+r+r7ntCpH1XJqX+qFlWjqct+7ZeQIAAnhCAAJ4QgACeEIAAnhCAAJ4QgAiaxaOXqh/LcMVc/8n1PbTNXHktN7sOr2kJxWpqi6Dalqdbm3Oa0QUjUjRwBICEcASAhHAEgIRwBICEcASAhHAEg0hgYH25f6IAAgJ0aOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkBCOAJAQjgCQEI4AkPj/rvMaCnnTL5kAAAAASUVORK5CYII=",
            "web_url": "provider_url/checkout?invoice=g57EwqzbZACyhTneBY01aH-PH7M8jn797igRcd6w2RNQC-oRSTg4WRSSfg7weNRbJhgH",
            "deep_link": {
                "universal_link": "https://a1.by/go/invoice_id-g57EwqzbZACyhTneBY01aH-PH7M8jn797igRcd6w2RNQC-oRSTg4WRSSfg7weNRbJhgH"
            },
            "account_number": "+375291111111"
        },
        "customer": {                
            "email": null,
            "ip": null
        },
        "manually_corrected_at": null,
        "version": 1,
        "message": "Transaction was initialized.",
        "test": false,
        "expired_at": "2026-08-28T13:40:39Z",           
        "additional_data": {                
            "payment_method": {
                "type": "alternative"
            }
        },
        "smart_routing_verification": {
            "status": "successful"
        },
        "gateway": {
            "iframe": false
        }
    }
}
Example of the webhook notification with the successful transaction status
{
    "transaction": {
        "uid": "cc32f4e5-6108-420c-8a48-cf110d4b1309",
        "type": "payment",
        "status": "successful",
        "amount": 53,
        "currency": "BYN",
        "description": "description",
        "created_at": "2026-10-15T15:06:34Z",
        "updated_at": "2026-10-15T15:07:47Z",
        "method_type": "a1pay",
        "receipt_url": "https://merchant.bepaid.by/customer/transactions/cc32f4e5-6108-420c-8a48-cf110d4b1309/423749f978daa06bfa25f1185276519eec73ec43908353f68b6187d49a3b7984",
        "payment": {
            "status": "successful",
            "gateway_id": 7160,
            "ref_id": "6g1i3t4gjNlB5ogUISYdfC-PH7M8jn797igRcd6w2RNQC-TgdB42AFdy0fNTzqUeDN9B",
            "message": "Transaction was successfully processed.",
            "rrn": "GxUypCXZpBfvV75YOpYmRG-PH7M8jn797igRcd6w2RNQC-hwCMBn5vHHCTJaUefUYR9F"
        },
        "a1pay": {
            "type": "a1pay",
            "qr_code": "[FILTERED]",
            "web_url": "provider_url/checkout?invoice=6g1i3t4gjNlB5ogUISYdfC-PH7M8jn797igRcd6w2RNQC-TgdB42AFdy0fNTzqUeDN9B",
            "deep_link": {
                "universal_link": "https://a1.by/go/invoice_id-6g1i3t4gjNlB5ogUISYdfC-PH7M8jn797igRcd6w2RNQC-TgdB42AFdy0fNTzqUeDN9B"
            },
            "bank_number": "ce7a7da6-c541-4e60-a956-275bca3da334",
            "account_number": "[FILTERED]"
        },
        "customer": {
            "email": null,
            "ip": null
        },
        "manually_corrected_at": null,
        "version": 2,
        "message": "Transaction was successfully processed.",
        "test": true,
        "paid_at": "2026-10-15T15:07:44Z",
        "expired_at": "2026-10-15T15:31:34Z",
        "additional_data": {
            "a1pay_method": "pan",
            "a1pay_verify": "cdd",
            "payment_method": {
                "type": "alternative"
            }
        },
        "smart_routing_verification": {
            "status": "successful"
        },
        "gateway": {
            "iframe": false
        }
    }
} 

Refund

Request

Send a standard refund request. The amount value must equal the amount of the corresponding payment transaction.

A refund can be issued only until 23:59:59 on the same calendar day the corresponding payment was made.