Refund a paypass payment response with details "CARD_PRESENCE_REQUIRED"

We have a platform that uses the Square Payment API to create payments from online endpoints and use the Square POS through the SDK for IOS for mobile entries.

Currently, a client contact to us with the issue they cannot do refunds and it’s getting the error “CARD_PRESENCE_REQUIRED” and the payment was a paypass created from the online entry. Also, they try to do the pay from the mobile entry but the Square POS ask the client for the PIN number while he was paying via paypass.

Request body:

{
    "amount_money": {
        "currency": "CAD",
        "amount": 1489
    },
    "reason": "requested_by_customer",
    "payment_id": "XXXXXXXXXXXX",
    "idempotency_key": "XXXXXXXX"
}

Response body:

{
    "errors": [
        {
            "code": "BAD_REQUEST",
            "detail": "CARD_PRESENCE_REQUIRED",
            "category": "INVALID_REQUEST_ERROR"
        }
    ]
}

:wave: Is this an Interac debit card? Also what’s the payment_id?