Test Cases

1

Display all supported mobile wallet providers (by country)

GET /v1/payout/bankwire/walletCodes?countryCode=PK

Response:

Response (200 OK)
{
  "status": 200,
  "message": "Successfully fetched walletcodes!",
  "data": {
    "wallets": [
      {
        "walletName": "BANKALFA",
        "providerCode": "0920001"
      },
      {
        "walletName": "JAZZCASH",
        "providerCode": "0920027"
      },
      {
        "walletName": "EASYPAISA",
        "providerCode": "0920037"
      },
      {
        "walletName": "UPAISA",
        "providerCode": "0920039"
      },
      {
        "walletName": "NAYAPAY",
        "providerCode": "0920049"
      },
      {
        "walletName": "SADAPAY",
        "providerCode": "09201"
      }
    ]
  }
}
2

Verify and save mobile wallet detail (optional)

POST /v1/partners/user/forensics/whitelist/mobileWallet

Request:

Request Body
{
  "walletHolderName": "NOSHEEN ASGHAR",
  "mobile": "+923051108024",
  "provider": "0920027_PKPRI",
  "country": "PK",
  "fiatCurrency": "ALL",
  "userEmail": "[email protected]"
}
3

Submit quote based on crypto

POST /v1/payout/bankwire/quotebyquantity

Request:

Request Body
{
  "userEmail": "[email protected]",
  "coin": "USDT",
  "recipientRelationship": "Brother",
  "remittancePurpose": "Gift",
  "transferType": "WALLET",
  "msisdn": "+923051108024",
  "accountNo": "string",
  "sendingCurrency": "USD",
  "receivingCurrency": "PKR",
  "receivingCountry": "PK",
  "sendingCountry": "US",
  "quantity": 35
}
4

Submit quote based on fiat

POST /v1/payout/bankwire/quotebyamount

Request:

Request Body
{
  "userEmail": "[email protected]",
  "coin": "USDT",
  "recipientRelationship": "Brother",
  "remittancePurpose": "Gift",
  "transferType": "WALLET",
  "msisdn": "+923051108024",
  "accountNo": "string",
  "sendingCurrency": "USD",
  "receivingCurrency": "PKR",
  "receivingCountry": "PK",
  "sendingCountry": "US",
  "amount": 600
}
5

Accept quote and submit order

POST /v1/payout/bankwire/submitOrder/wallet

Request:

Request Body
{
  "transactionType": "p2p",
  "quoteId": "",
  "sourceOfFunds": "Salary",
  "sender_msisdn": "+923051108024",
  "receiver_msisdn": "+923051108024",
  "walletProviderName": "string",
  "walletProviderCode": "0920027_PKPRI",
  "receiver_firstName": "NOSHEEN",
  "receiver_lastName": "ASGHAR"
}