Newer Version Available

This content describes an older version of this product. View Latest

Payment Intents Input

Payment intents input consumed to initiate a payment.
JSON example without saved payment method information
1{
2    "amount":10.99,
3    "currencyIsoCode":”USD”,
4    "sourceObjectIds":[”0a6xx0000000cuvAAA”],
5    "paymentGatewayId":”b0xx00000000ZVEAY”,
6    "paymentMethodType":”card”
7    }
JSON example with saved payment method information
1{
2    "amount": "250",
3    "currencyIsoCode" : "USD",
4    "sourceObjectIds" : ["001xx000003Gmk3AAC"],
5    "paymentGatewayId" : "0b0xx00000000w5AAA",
6    "paymentMethodType" :"us_bank_account",
7    "paymentMethod": {
8      "referenceOwnerId" : "001xx000003Gmk3AAC",
9      "usageType": "OffSession",
10      "isDefault" : true
11      }
12    }
Properties
Name Type Description Required or Optional Available Version
additionalData Map<String, String> More data about the payment request. This property can include up to five key-value pairs. Each key and value can contain up to 255 characters. Optional 57.0
amount Double Amount to be captured. Required 57.0
currencyIsoCode String Three-letter ISO 4217 code indicating the currency of the payment. Required 57.0
paymentGatewayId String ID of the payment gateway that processes the payment intent. Required 57.0
paymentMethod String Details required to save a payment method. Optional 58.0
paymentMethodType String Type of payment instrument, such as a credit card or digital wallet. Required 57.0
sourceObjectIds String[] A list of cart or checkout IDs that indicates what the payment was made for. Required 57.0
useManualCapture Boolean Enables manual capture of a payment. Optional 58.0