Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.51 KB

File metadata and controls

40 lines (34 loc) · 1.51 KB

Komoju::PaymentDataRequest

Properties

Name Type Description Notes
capture String Whether to capture the payment automatically on completion, or hold it for manual capture later. [optional]
amount Integer Amount greater than or equal to 0, in the lowest denomination of the currency (e.g. cents for USD). [optional]
currency Currency [optional]
external_order_num String Merchant-assigned order reference number to associate with the payment. [optional]
name String Customer's full name. [optional]
name_kana String Customer's full name in katakana. [optional]
mcc String Merchant Category Code to use for this payment. [optional]
intent Intent [optional]
statement_descriptor StatementDescriptor [optional]
platform_details PlatformDetails [optional]
billing_address Address [optional]
shipping_address Address [optional]

Example

require 'komoju-sdk'

instance = Komoju::PaymentDataRequest.new(
  capture: null,
  amount: null,
  currency: null,
  external_order_num: null,
  name: null,
  name_kana: null,
  mcc: null,
  intent: null,
  statement_descriptor: null,
  platform_details: null,
  billing_address: null,
  shipping_address: null
)