ConfirmPaymentRequest
A payment token generated by monei.js Components or a paymentToken saved after a previous successful payment.
7cc38b08ff471ccd313ad62b23b9f362b107560b
paymentMethod 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 Doe
The cardholder's email address.
john.doe@monei.com
If set to true a permanent token that represents a payment method used in the payment will be generated.
false
false
customer object
The customer's email address.
john.doe@example.com
The customer's full name or business name.
John Doe
The customer's phone number in E.164 format.
null
billingDetails object
Billing information associated with the payment method at the time of the transaction.
The customer's billing full name.
John Doe
The customer's billing email address.
john.doe@example.com
The customer's billing phone number in E.164 format.
null
Billing company name.
null
Company tax ID.
null
address object
City, district, suburb, town, or village.
Málaga
Address line 1 (e.g., street, PO Box, or company name).
Fake Street 123
Address line 2 (e.g., apartment, suite, unit, or building).
null
ZIP or postal code.
1234
State, county, province, or region.
Málaga
shippingDetails object
Shipping information associated with the payment.
The shipping customer's full name.
John Doe
The shipping customer's email address.
john.doe@example.com
The shipping customer's phone number in E.164 format.
null
Name of the company where the shipment is going.
null
Company tax ID.
null
address object
City, district, suburb, town, or village.
Málaga
Address line 1 (e.g., street, PO Box, or company name).
Fake Street 123
Address line 2 (e.g., apartment, suite, unit, or building).
null
ZIP or postal code.
1234
State, county, province, or region.
Málaga
A 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"
}
},
"metadata": {
"systemId": "12345"
}
}