# TokenizeUcpRequest

**credential** <!-- -->objectrequired

A UCP card credential.

**type**stringrequired

**Possible values:** \[`pan`]

**number**stringrequired

The card number. It must pass the Luhn check.

**Possible values:** Value must match regular expression `^[0-9]{13,19}$`

**Example:<!-- -->&#x20;**`4111111111111111`

**expiry\_month**integerrequired

**Possible values:** `>= 1` and `<= 12`

**Example:<!-- -->&#x20;**`9`

**expiry\_year**integerrequired

**Possible values:** `>= 2000` and `<= 2099`

**Example:<!-- -->&#x20;**`2030`

**cvc**stringrequired

The card security code.

**Possible values:** Value must match regular expression `^[0-9]{3,5}$`

**Example:<!-- -->&#x20;**`123`

**name**CardholderName

The cardholder's name, as stated in the credit card.

**Example:<!-- -->&#x20;**`John Doe`

**binding** <!-- -->objectrequired

The checkout binding. MONEI ignores unknown members.

**type**stringrequired

A reverse-DNS binding type. Unknown types that match this format are accepted.

**Possible values:** Value must match regular expression `^[a-z](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9_-]*[a-z0-9_])?)+$`

**Example:<!-- -->&#x20;**`dev.ucp.shopping.checkout`

**id**stringrequired

The opaque checkout identifier.

**Possible values:** `non-empty` and `<= 255 characters`

**Example:<!-- -->&#x20;**`chk_abc123`

**identity** <!-- -->objectrequired

**access\_token**AccountIdrequired

The merchant's MONEI account ID. The merchant must be in the same mode as the caller.

**Example:<!-- -->&#x20;**`aa9333ba-82de-400c-9ae7-087b9f8d2242`

**usage\_limits** <!-- -->objectrequired

A MONEI handler field defining the maximum charge and its currency.

**max\_amount**integerrequired

The maximum amount the merchant can charge, in the smallest currency unit.

**Possible values:** `>= 1`

**Example:<!-- -->&#x20;**`4990`

**currency**Payment-Currencyrequired

The currency the merchant must use to charge this token.

**Example:<!-- -->&#x20;**`EUR`

**signals** <!-- -->object

Buyer session signals. Send `dev.ucp.buyer_ip` and `dev.ucp.user_agent` with every card: 3D Secure needs them, and when the issuer asks for authentication a charge without them fails with `E304`.

**dev.ucp.buyer\_ip**string

The buyer's IP address.

**Example:<!-- -->&#x20;**`203.0.113.42`

**dev.ucp.user\_agent**UserAgent

Full user agent string of the browser session.

**Example:<!-- -->&#x20;**`Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...`

TokenizeUcpRequest

```
{

  "credential": {

    "type": "pan",

    "number": "4111111111111111",

    "expiry_month": 9,

    "expiry_year": 2030,

    "cvc": "123",

    "name": "John Doe"

  },

  "binding": {

    "type": "dev.ucp.shopping.checkout",

    "id": "chk_abc123"

  },

  "identity": {

    "access_token": "aa9333ba-82de-400c-9ae7-087b9f8d2242"

  },

  "usage_limits": {

    "max_amount": 4990,

    "currency": "EUR"

  },

  "signals": {

    "dev.ucp.buyer_ip": "203.0.113.42",

    "dev.ucp.user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ..."

  }

}
```
