Binance C2C To/From Information on Pay Endpoints

I’m trying to get Binance Pay Transaction History from Binance API which is documented on here but this endpoint is not giving to/from information that is visible on web page (Pay Transaction History page on Binance)

Also I can’t get the order id of the sender in order to validate the transaction automatically. (I’m not sure it’s possible in Merchant API but Binance still didn’t approve my merchant application in 2 weeks) Is is possisble to get order id (which is visible to sender)?

This is the JSON of the official API: (private information is masked)

{
  "code": "000000",
  "message": "success",
  "data": [
    {
      "orderType": "C2C",
      "transactionId": "P_A16NZ******",
      "transactionTime": 1664715793000,
      "amount": "***",
      "currency": "USDT",
      "walletType": 1,
      "fundsDetail": [
        {
          "currency": "USDT",
          "amount": "***"
        }
      ]
    }
  ],
  "success": true
}

Once I enter to this history page I checked the network console and say that there’s a request to https://www.binance.com/bapi/pay/v1/private/binance-pay/transaction/list URL which is giving the exact information that I need but that API is not available as an endpoint for normal access I guess.

This is the information that I can get on that web page API:

{
  "code": "000000",
  "message": null,
  "messageDetail": null,
  "data": {
    "transactionId": "P_A16NZ******",
    "transactionType": "C2C",
    "bizId": *******, //this is the exact information that I want to get
    "bizIdStr": "********",
    "bizType": "C2C",
    "currency": "USDT",
    "channel": "MAIN_SITE_WITHDRAW",
    "subChannel": "",
    "amount": "100",
    "transactTime": 1664715793000,
    "assetCostVOList": null,
    "detailPageUrl": null,
    "bizStatus": "PAID",
    "payMethodId": 2,
    "payMethodName": "Spot Wallet",
    "viaAccountType": "EMAIL",
    "merchantId": null,
    "merchantName": null,
    "subMerchantId": null,
    "subMerchantName": null,
    "productName": null,
    "productDetail": null,
    "prepayId": null,
    "transactionFee": "0",
    "refundInfo": null,
    "refundInfos": null,
    "refundedInfo": null,
    "relatedTransactionIds": null,
    "merchantReferenceId": null,
    "transactUpdateTime": null,
    "transactExpireTime": null,
    "payerInfo": {
      "name": "****",
      "type": "USER",
      "email": "******@gmail.com",
      "binanceId": null,
      "accountId": ********,
      "countryCode": **,
      "phoneNumber": "**********",
      "mobileCode": "**",
      "unmaskData": false,
      "extend": null
    },
    "receiverInfo": {
      "name": "******",
      "type": "USER",
      "email": "******@******.com",
      "binanceId": null,
      "accountId": ******,
      "countryCode": **,
      "phoneNumber": "**********",
      "mobileCode": "**",
      "unmaskData": false,
      "extend": null
    },
    "extendInfo": {
      "productType": null,
      "productName": null,
      "productDetail": null,
      "note": "",
      "payeeNote": "",
      "paymentLinkMerchantReference": null,
      "payeeEmail": null,
      "payeeMobileCode": null,
      "payeeMobile": null,
      "remittanceCurrency": null,
      "remittanceAmount": null
    },
    "prepayOrder": null
  },
  "success": true
}

Is there anyway to get that information?

Unfortunately I don’t think it’s available from public endpoint yet.

This is why I’m asking, why it isn’t available on that endpoint? May be any Binance staff will respond to this question

        const res = await axios.post(
            'https://p2p.binance.com/bapi/c2c/v2/friendly/c2c/adv/search',
            {
              asset: vAsset,
              fiat: vFiat,
              merchantCheck: true,
              page: 1,
              rows: 20,
              tradeType: vType
            },
            {
              headers: {
                'X-MBX-APIKEY': apiKey,
                 'X-MBX-APISECRET': apiSecret, // Not needed for this request
              }
            }
          );
        // console.log(res.data?.data);
        return res.data?.data; ======== this works in localhost, but not when i upload to server/domain