Fetch masked Vpas

This API is used to fetch the list of masked UPI IDs against any mobile number.

Request Header Params

Key

Description

Data type

Mandatory

possible Values

Authorization

Access token generated earlier.

String

Yes

Bearer {access_token}

payoutMerchantId

This is the merchant id provided while onboarding

String

Yes

payountMerchantId is different from payumoney merchant id, please check payouts dashboard or call customer support if you don’t know your payoutsMerchantID

Request Params

Key

Description

Data type

Mandatory

possible Values

mobileNumber

Mobile number of user

String

Yes

valid phone number

Example

Content-Type : application/x-www-form-urlencoded

Method : GET

curl --location --request GET 'https://test.payumoney.com/payout/payment/fetchMaskedVpa?mobileNumber=9834580699' \
--header 'cache-control: no-cache' \
--header 'payoutMerchantId: 2222278' \
--header 'Authorization: Bearer 63d235e61e7f18bff6516058c4fdf09533303356ac8e0ef30de6986b03d0c1b2' \

Response :

{
    "status": 0,
    "msg": null,
    "code": null,
    "data": {
        "result": 1.0,
        "9x1x3x5x8x@okaxis": {
            "Token": "13e3a8caa1ede3c56a524",
            "name": "",
            "App_Name": "Google Pay"
        },
        "9x3x5x0x9x@ybl": {
            "Token": "291dc5886ed5a13f50ccd",
            "name": "Sajan Bhadrike ",
            "App_Name": "PhonePe"
        }
    }
}

Last updated