input_object

PaymentMethodInput

Payment method details including meta, mode, name, amount, and extra identifiers.
Fields
amount
Float
Amount to be paid using this method. Example: 499.0
Required
Payment mode (e.g., COD, NB, CARD, UPI). Example: 'UPI'
name
String
Display name of the payment method. Example: 'Google Pay'
payment
String
Payment type/category. Example: 'required'
payment_identifier
String
Payment identifier from gateway. Example: 'pay_abc123'
payment_extra_identifiers
JSON
Extra identifiers for payment. Example: { upi_vpa: 'name@upi' }
payment_meta
PaymentMetaInput!
Required
Payment meta (merchant code, type, gateway, identifier).