Bank Transfer

Call the Payments API to request payments via Bank Transfer on India

Here you'll find the specific parameters required for integrating this payment method in the selected country. These parameters are tailored to meet the unique requirements of this region and payment type. For a complete list of global parameters and detailed explanations, please refer to the Overview page, where you'll find all the foundational elements that apply across different countries and methods.

POST /v2/payin

Request

curl -v --location --request POST 'https://sandbox.smartfastpay.com/v2/payin' \
    --header 'Content-Type: application/json' \
    --header 'Authorization: Bearer <Access-Token>' \
    --data-raw '{
        "customer": {
            "id": "58f0c005-3b7d-4c75-81f3-93b9a6fee864",
            "name": "Richard Roe",
            "email": "richard@roe.com",
            "document": {
                "number": "BNZAA2318J",
                "type": "ID"
            },
            "phone": "+911234567821"
        },
        "transaction": {
            "id": "b08e3897-6505-4bb4-81a5-6e3a1d29e277",
            "currency": "INR",
            "amount": 2200,
        },
        "country": "IND",
        "payment_method": "bank_transfer",
        "notification_url": "http://mysite.com/api/notification"
    }'

Parameters details

Response

{
    "requestId": "a2435636-5f69-447d-8e22-8382f62ef7dd",
    "data": {
        "id": "4a79f3b4-8d55-428b-a560-984fedd6f78a",
        "status": "pending",
        "expires_in": 1722108649,
        "payment": {
            "method": "bank_transfer",
            "url": "https:\/\/aaaaaa.bbbbbbbbbb.com\/000000\/d3R4YkVtQ25LaF..."
        },
        "values": {
            "source_total": 27525.47,
            "source_currency": "INR",
            "exchanged_total": 27525.47,
            "exchanged_currency": "INR",
            "exchange": 1.00,
            "fee": 0
        }
    }
}

Response details following the link: overview

Last updated