TokenizeUcpRequest
credential objectrequired
A UCP card credential.
Possible values: [pan]
The card number. It must pass the Luhn check.
Possible values: Value must match regular expression ^[0-9]{13,19}$
4111111111111111Possible values: >= 1 and <= 12
9Possible values: >= 2000 and <= 2099
2030The card security code.
Possible values: Value must match regular expression ^[0-9]{3,5}$
123The cardholder's name, as stated in the credit card.
John Doebinding objectrequired
The checkout binding. MONEI ignores unknown members.
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_])?)+$
dev.ucp.shopping.checkoutThe opaque checkout identifier.
Possible values: non-empty and <= 255 characters
chk_abc123identity objectrequired
The merchant's MONEI account ID. The merchant must be in the same mode as the caller.
aa9333ba-82de-400c-9ae7-087b9f8d2242usage_limits objectrequired
A MONEI handler field defining the maximum charge and its currency.
The maximum amount the merchant can charge, in the smallest currency unit.
Possible values: >= 1
4990The currency the merchant must use to charge this token.
EURsignals 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.
The buyer's IP address.
203.0.113.42Full user agent string of the browser session.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...{
"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) ..."
}
}