| [ Web Proxy ] |
| Viewing: https://developer.squareup.com/reference/sdks/web/payments/objects/ChargeCardVerificationDetails | [Back] [Original] |
Objects
The verification details parameter, passed to the card.tokenize() function, for cases in which the buyer is being charged.
The total cost of the purchase given as a string representation float with decimal places representing the lowest denominations of the currency. This follows the W3 Payment Request API standard - https://www.w3.org/TR/payment-request/#dfn-valid-decimal-monetary-value
For example, a total of "10" is represented as "10.00" or "10" for currencies with fractional denominations (such as USD),
while the total is represented as "10" in currencies without fractional denominations, such as JPY.
Contact information for the buyer.
3-letter ISO 4217 currency code.
Indicates whether the customer initiated the payment.
Transactional intent of the payment.
Indicates that the seller keyed in payment details on behalf of the customer. This is used to flag a payment as Mail Order / Telephone Order (MOTO).
const verificationDetails = {
amount: '1.00',
currencyCode: 'GBP',
intent: 'CHARGE',
billingContact: {
givenName: 'John',
familyName: 'Doe',
email: '[email protected]',
phone: '3214563987',
addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
state: 'LND',
countryCode: 'GB',
postalCode: 'WC2N 5DU',
},
customerInitiated: true,
sellerKeyedIn: false,
};| Web Proxy Viewer | New URL | Original Page |