Sample Payloads - Version 2

UPI

Hide UPI Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions": true,
       "options": [
           {
               "paymentMethodType": "UPI",
               "enable": false
           }
       ]
   }
}
Hide Specific UPI Apps or UPI Collect handles
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions": true,
       "options": [{
               "paymentMethodType": "UPI",
               "enable": true,
               "upiFilters": [{
                       "upiType": "COLLECT",
               "enable": false,     
                       "upiMethods": ["@ybl", "@okhdfcbank"]
                   },
                   {
                       "upiType": "INTENT",
                       "enable": false,
                       "upiMethods": ["PHONEPE", "GPAY", "PAYTM"]
                   }]
               }
           ]
       }
}

Wallets

Hide Wallet Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions": true,
       "options": [
           {
               "paymentMethodType": "WALLET",
               "enable": false
           }
       ]
   }
}
Hide Specific Wallets
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions": true,
       "options": [
           {
               "paymentMethodType": "WALLET",
               "paymentMethods": ["LAZYPAY,SIMPL"],
               "enable": false
           }
       ]
   }
}
Display Only Wallet Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : false,
       "options": [
         {
           "paymentMethodType": "WALLET",
           "enable": true
         }
       ]
     }
}
Show particular consumer finance wallets
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : false,
       "options": [
         {
           "paymentMethodType": "CONSUMER_FINANCE",
           "paymentMethods" : ["FLEXMONEY",",ZESTMONEY"],
           "enable": true
         }
       ]
     }
}

Cards

Disable Credit Cards
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : true,
       "options": [
         {
           "paymentMethodType": "CARD",
           "enable" : true,
     "cardFilters": [
             {
               "enable": false,
               "cardTypes": ["CREDIT"]
             }
           ]
         }
       ]
     }
}
Hide Card Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : true,
       "options": [
         {
           "paymentMethodType": "CARD",
           "enable" : false
         }
       ]
     }
}
Hide particular card bins
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : true,
       "options": [
         {
           "paymentMethodType": "CARD",
           "enable": true,
           "cardFilters": [
             {
               "enable": false,
                 "cardBins":["459000::460000"]
             }
           ]
         }
       ]
     }
}
Display Only Card Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : false,
       "options": [
         {
           "paymentMethodType": "CARD",
           "enable" : true
         }
       ]
     }
}

Netbanking

Hide Net Banking Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : true,
       "options": [
         {
           "paymentMethodType": "NB",
           "enable" : false
         }
       ]
     }
}
Display only Net Banking Section
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : false,
       "options": [
         {
           "paymentMethodType": "NB",
           "enable" : true
         }
       ]
     }
}

Combinations

Hide some particular card while allowing some wallets
{
   "order_id": "R8205947560",
   "first_name": "John",
   "last_name": "Wick",
   "mobile_number": "9592329220",
   "email_address": "[email protected]",
   "customer_id": "9592329220",
   "timestamp": "1611559686153",
   "merchant_id": "abcd",
   "amount": "1.00",
   "currency": "INR",
   "payment_filter": {
       "allowDefaultOptions" : true,
       "options": [
         {
           "paymentMethodType": "CARD",
           "enable": true,
           "cardFilters": [
             {
               "enable": false,
                  "cardBrands": ["VISA"],
                  "cardTypes":["DEBIT"],
                  "cardBanks":["SBI"]
             },
             {
               "paymentMethodType": "WALLET",
               "enable": true,
               "paymentMethods" : ["PAYTM"]
             }
           ]
         }
       ]
     }
}