---
api: 'Merchant API'
---

# Check card details

Check whether a card or a saved payment method can receive disbursements, before you send funds with the [Create a disbursement endpoint](https://developer.revolut.com/docs/api/merchant#create-disbursement).

The response includes the country the card was issued in, its brand, and its disbursement capabilities: whether it can receive disbursements at all (`eligible`), and whether the funds arrive within minutes rather than days (`fast_funds`).

:::warning
This operation is available to merchants with the gambling merchant category code (MCC 7995) only.
:::

:::info
If you collect and pass raw card details, you must be [PCI DSS compliant](https://www.pcisecuritystandards.org/standards/pci-dss/).
:::

## Endpoint

POST `/api/cards/details`

## Request body

### Attributes

- `type` (enum)
    The type of the evaluated destination.
    Possible enum values:

    - `card`
    - `saved_payment_method`
- `value` (string)
    The card number (PAN) when `type` is `card`, or the saved payment method ID when `type` is `saved_payment_method`.

## Returns

### 200

Card details checked

#### Response attributes

- `country_code` (string)
    The ISO 2-letter country code of the country the card was issued in.
- `currency` (string, optional)
    [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code in upper case.
    
    :::info
    For more information about the supported currencies, see: [Help Center](https://help.revolut.com/business/help/merchant-accounts/payments/in-which-currencies-can-i-accept-payments/).
    :::
- `brand` (enum, optional)
    The brand of the card. Returned for Visa and Mastercard cards only. Omitted from the response for other card schemes.
    Possible enum values:

    - `visa`
    - `mastercard`
- `disbursement` (object)
    The disbursement capabilities of the card.
  - `disbursement.fast_funds` (boolean)
      Whether the card issuer supports fast funds. When `true`, disbursements to the card can arrive within minutes rather than days.
  - `disbursement.eligible` (boolean)
      Whether the card can receive disbursements.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Unprocessable Entity |
| 500 | Internal Server Error |
