Newer Version Available
Saved Payment Method Input
Input representation of the details of the shopper’s saved payment method.
- JSON example
-
1{ 2 "gatewayCustomerReference" : "cus_N9hYyZflb2ObdN", 3 "gatewayInitiatorReference" : "seti_1Mm8s8LkdIwHu7ix0OXBfTRG", 4 "paymentGatewayId" : "0b0xx00000000w5AAA", 5 "paymentMethodType" :"card", 6 "referenceOwnerId" : "001xx000003Gmk3AAC" , 7 "usageType" : "OffSession" 8} - Properties
-
Name Type Description Required or Optional Available Version additionalData Map<String, String> Additional data you can pass in the request. This property can include a maximum of five key-value pairs. Each key and value can contain up to 255 characters. Optional 59.0 flowContext String Checkout or My Account flow for this payment method. Optional 59.0 gatewayCustomerReference String Owner associated with the payment method to the payment gateway. Required 60.0 gatewayInitiatorReference String Specifies the gateway initiator reference, such as setup intent ID for gateway Stripe. Required 60.0 id String Salesforce ID of the saved payment method record. Optional 58.0 isDefault Boolean Marks the saved payment method as the default method to use for transactions. Optional 58.0 paymentGatewayId String Salesforce ID of the Payment Gateway object record. Required 58.0 paymentMethodType String Payment method type, such as a credit card. Required 59.0 referenceOwnerId String ID of the merchant account of the contact record. Required 58.0 usageType String Specifies whether the payment method is used OnSession or OffSession. Required 58.0