ConfirmPaymentRequest
A payment token generated by monei.js Components or a paymentToken saved after a previous successful payment.
7cc38b08ff471ccd313ad62b23b9f362b107560bpaymentMethod object
Additional information about the payment method used for this payment.
card object
Additional information about the card used for this payment.
The cardholder's name, as stated in the credit card.
John DoeThe cardholder's email address.
john.doe@monei.comIf set to true a permanent token that represents a payment method used in the payment will be generated.
falsefalsecustomer object
The customer's email address.
john.doe@example.comThe customer's full name or business name.
John DoeThe customer's phone number in E.164 format.
nullbillingDetails object
Billing information associated with the payment method at the time of the transaction.
The customer's billing full name.
John DoeThe customer's billing email address.
john.doe@example.comThe customer's billing phone number in E.164 format.
nullBilling company name.
nullCompany tax ID.
nulladdress object
City, district, suburb, town, or village.
MálagaAddress line 1 (e.g., street, PO Box, or company name).
Fake Street 123Address line 2 (e.g., apartment, suite, unit, or building).
nullZIP or postal code.
1234State, county, province, or region.
MálagashippingDetails object
Shipping information associated with the payment.
The shipping customer's full name.
John DoeThe shipping customer's email address.
john.doe@example.comThe shipping customer's phone number in E.164 format.
nullName of the company where the shipment is going.
nullCompany tax ID.
nulladdress object
City, district, suburb, town, or village.
MálagaAddress line 1 (e.g., street, PO Box, or company name).
Fake Street 123Address line 2 (e.g., apartment, suite, unit, or building).
nullZIP or postal code.
1234State, county, province, or region.
MálagasessionDetails Payment-SessionDetails
Information related to the browsing session of the user who initiated the payment.
The IP address where the operation originated.
100.100.200.100Device type, could be desktop, mobile, smartTV, tablet.
desktopInformation about the device used for the browser session (e.g., iPhone).
nullThe browser used in this browser session (e.g., Mobile Safari).
ChromeThe version for the browser session (e.g., 13.1.1).
83.0.4103.116Operation system (e.g., iOS).
Mac OSOperation system version (e.g., 13.5.1).
10.15.4The source component from where the operation was generated (mostly for our SDK's).
MONEI/PHPThe source component version from where the operation was generated (mostly for our SDK's).
0.1.2Full user agent string of the browser session.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...Browser accept header.
text/html,application/xhtml+xml,application/jsonThe color depth of the browser session (e.g., 24).
24The screen height of the browser session (e.g., 1152).
1152The screen width of the browser session (e.g., 2048).
2048The timezone offset of the browser session (e.g., -120).
-120A set of key-value pairs that you can attach to a resource. This can be useful for storing additional information about the resource in a structured format.
{"systemId":"12345"}{
"paymentToken": "7cc38b08ff471ccd313ad62b23b9f362b107560b",
"paymentMethod": {
"card": {
"cardholderName": "John Doe",
"cardholderEmail": "john.doe@monei.com"
}
},
"generatePaymentToken": false,
"customer": {
"email": "john.doe@example.com",
"name": "John Doe",
"phone": null
},
"billingDetails": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": null,
"company": null,
"taxId": null,
"address": {
"country": "ES",
"city": "Málaga",
"line1": "Fake Street 123",
"line2": null,
"zip": "1234",
"state": "Málaga"
}
},
"shippingDetails": {
"name": "John Doe",
"email": "john.doe@example.com",
"phone": null,
"company": null,
"taxId": null,
"address": {
"country": "ES",
"city": "Málaga",
"line1": "Fake Street 123",
"line2": null,
"zip": "1234",
"state": "Málaga"
}
},
"sessionDetails": {
"ip": "100.100.200.100",
"countryCode": "ES",
"lang": "es",
"deviceType": "desktop",
"deviceModel": null,
"browser": "Chrome",
"browserVersion": "83.0.4103.116",
"os": "Mac OS",
"osVersion": "10.15.4",
"source": "MONEI/PHP",
"sourceVersion": "0.1.2",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) ...",
"browserAccept": "text/html,application/xhtml+xml,application/json",
"browserColorDepth": "24",
"browserScreenHeight": "1152",
"browserScreenWidth": "2048",
"browserTimezoneOffset": "-120"
},
"metadata": {
"systemId": "12345"
}
}