Integrate Import with UPI Autopay for Payments OS

After you implement mandate registration flow with UPI Autopay, you can start collecting recurring payments with UPI payment method. This section describes the step-by-step procedure to integrate mandate registration flow with UPI Autopay.

📘

Enable PACB flow

If you do not have a local entity in India and your business is classified as software, digital goods, or gaming, you can register for an PACB flow with PayU India.

Register for Mandate (first-time only)

Post the following additional fields using the Create Change request (similar to the following sample code). You need to include the following additional fields in the additional_details parameter in the Create Change request to include the UPI Autopay details for PayU India.

FieldDescriptionExample
additionalDescription1
optional
This field must contain the Buyer's PAN and date of birth in the following format:
Buyer's PAN|Buyer'sDOB
AAAPZ1234C|22/08/1972
additionalDescription3
mandatory
This field must contain the invoice ID of the transaction (generated by the merchant) and merchant name in the following format
Invoice ID|MerchantName
INV-123_1231|MerchantName
additionalDescription4
optional
This field must contain the state name.Karnataka
additionalDescription5
mandatory
This field must contain authPayuId of the recurring transaction.10731087875

📘

Reference:

For more information how to integrate using Create Change request, refer to the PayU Payments OS > Integration Procedures > Implementing a Recurring Transaction Flow with UPI Autopay documentation.

For the Create Payment request. the following object contains the mandatory parameters for Cross-Border integration:

{
    "merchant_site_url": "http://www.abc.com/return-url",
    "payment_method": {
        "source_type": "bank_transfer",
        "type": "untokenized",
        "vendor": "UPI",
        "additional_details": {
            "upi_type": "collect",
            "vpa": "abc@icici",
            "si": "1",
            "si_amount": "1.00",
            "si_cycle": "ADHOC",
            "si_end_date": "2021-07-21",
            "si_interval": 1,
            "si_start_date": "2020-12-03",
            "si_billing_date": "FORTNIGHTLY",
            "si_billing_rule": "EXACT",
            "si_billing_limit": "BEFORE"
            "additionalDescription1": "AAAPZ1234C|22/08/1972",
            "additionalDescription3": "INV-123_1231|MerchantName",
            "additionalDescription4": "Karnataka",
            "additionalDescription5": "10731087875",
            "invoice_id": "1234",
       }
    },
    "reconciliation_id": "40762342"
}


📘

Reference:

For more information how to integrate using Create Change request, refer to the PayU Payments OS > Integration Procedures > Implementing a Recurring Transaction Flow with UPI Autopay documentation.

For the Create Payment request. the following object contains the mandatory parameters for Cross-Border integration:

Recurring payment transaction flow (repeat flow)

Post the following additional fields using the Create Change request (similar to the following sample code). You need to include the following additional fields in the additional_details parameter in the Create Change request to include the UPI Autopay details for PayU India.

FieldDescriptionExample
additionalDescription1This field must contain the Buyer's PAN and date of birth in the following format:
Buyer's PAN|Buyer'sDOB
AAAPZ1234C|22/08/1972
additionalDescription3This field must contain the invoice ID of the transaction (generated by the merchant) and merchant name in the following format
Invoice ID|MerchantName
INV-123_1231|MerchantName
additionalDescription4This field must contain the state name.Karnataka
additionalDescription5This field must contain authPayuId of the recurring transaction.10731087875

{
    "merchant_site_url": "http://www.abc.com/return-url",
    "payment_method": {
        "source_type": "bank_transfer",
        "type": "untokenized",
        "vendor": "UPI",
        "additional_details": {
            "upi_type": "collect",
            "vpa": "abc@icici",
            "si": "1",
            "si_amount": "1.00",
            "si_cycle": "ADHOC",
            "si_end_date": "2021-07-21",
            "si_interval": 1,
            "si_start_date": "2020-12-03",
            "si_billing_date": "FORTNIGHTLY",
            "si_billing_rule": "EXACT",
            "si_billing_limit": "BEFORE"
        }
    },
    "reconciliation_id": "40762342"
}