IMPS
Вариант интеграции PF
Эта интеграция поддерживает транзакцию выплаты:
Выплата
Запрос
Отправьте запрос выплаты средств, указав следующие параметры:
| Параметр | Тип данных | Описание | 
|---|---|---|
| method | object | Секция параметров способа выплаты. | 
| type * обязательный | string | imps | 
| account * обязательный | string | Номер счета в IMPS. | 
| bank_name * обязательный | string | Название банка получателя выплаты. | 
| ifsc_code * обязательный | string | IFSC- код банка получателя. | 
| account_name * обязательный | string | Имя владельца счета в IMPS. | 
| customer | object | Секция информации о покупателе. | 
| first_name * обязательный | string | Имя покупателя. | 
| last_name * обязательный | string | Фамилия покупателя. | 
| address * обязательный | string | Адрес покупателя. | 
| state * обязательный | string (2) | Штат покупателя. Укажите 2 последних символа из геокода формата ISO 3166-2. | 
| city * обязательный | string | Город покупателя. | 
| zip * обязательный | string (6) | Почтовый индекс покупателя. | 
| phone | string (14) | Номер телефона покупателя. | 
| string | Адрес электронной почты покупателя. | 
Пример запроса
{
    "request":{
        "amount":30000,
        "currency":"INR",
        "description":"description",
        "test": true,
        "language":"en",
        "notification_url":"https://merchant.ltd/notification",
        "customer":{
            "first_name":"John",
            "last_name":"Doe",
            "city":"Delhi",
            "zip":"96002",
            "address":"1st Street",
            "state": "DL"
        },
        "method":{
            "type":"imps",
            "account": "123456789",
            "account_name": "John Doe",
            "ifsc_code": "ABCD0001234",
            "bank_name": "BANK0000123"
        }
    }
}
Ответ
Ответ будет содержать секцию imps с параметрами платежного метода, присланными в запросе.
Пример ответа
{
    "transaction": {
        "uid": "e1236a41-b26c-489e-a0ea-3419aab1e123",
        "type": "payout",
        "status": "pending",
        "amount": 30000,
        "currency": "INR",
        "description": "description",
        "created_at": "2023-06-02T09:33:13Z",
        "updated_at": "2023-06-02T09:33:15Z",
        "method_type": "imps",
        "receipt_url": "https://backoffice.overpay.io/customer/transactions/e4bb6a41-b26c-489e-a0ea-3419aab1e7c2/6842440302ab6927e88198c825c458d36a852e9dba8d44b980689d8fe8b112cb?language=en",
        "payout": {
            "status": "pending",
            "gateway_id": 1234,
            "ref_id": "4322647",
            "message": "Transaction was initialized"
        },
        "imps": {
            "type": "imps",
            "account": "123456789",
            "account_name": "John Doe",
            "ifsc_code": "ABCD0001234",
            "bank_name": "BANK0000123"
        },
        "customer": {
            "email": null,
            "ip": null
        },
        "message": "Transaction was initialized",
        "tracking_id": "your_uniq_number",
        "test": true,
        "language": "en",
        "billing_address": {
            "first_name": "John",
            "last_name": "Doe",
            "country": "IN",
            "state": "DL",
            "city": "Delhi",
            "zip": "96002",
            "address": "1st Street"
        },
        "additional_data": {
            "payment_method": {
                "type": "alternative"
            }
        }
    }
}