OrderPaymentInstrumentRequest document (Shop API 19.5)
(supports custom properties)
Document representing an order payment instrument request.
| Property | Type | Constraints | Description | 
|---|---|---|---|
amount
 | 
Decimal | The payment transaction amount. | |
bank_routing_number
 | 
String | maxLength=256 | The bank routing number. | 
create_customer_payment_instrument
 | 
boolean | A flag indicating whether a related customer payment instrument should be created. The CustomerPaymentInstrument is only created when the OrderPaymentInstrument was authorized successfully. | |
customer_payment_instrument_id
 | 
String | The id of a customer payment instrument. | |
gift_certificate_code
 | 
String | maxLength=256 | The gift certificate code. | 
payment_bank_account
 | 
PaymentBankAccountRequest | The payment bank account request data. | |
payment_card
 | 
OrderPaymentCardRequest | The payment card. | |
payment_method_id
 | 
String | maxLength=256 | The payment method id. Optional if a customer payment instrument id is specified. | 
X
OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.