CreatePaymentRequest
CreatePaymentRequest data model
- Existing instrument
- Inline PAN data
- Encrypted instrument data
Pay with a previously tokenized instrument. The gateway forwards
payment_instrument.id as-is; customer is optional.
Payment amount in minor units (e.g. 10000 for 100.00 SAR)
x >= 110000
Currency code (ISO 4217)
"SAR"
Device information (required for 3DS and risk assessment)
Reference an existing tokenized payment instrument by ID.
Processing details
Capture options
Order details
Customer details
3DS settings
Risk assessment data
Return URLs
Additional metadata
Channel ID for the payment
"019859f8-3149-7a55-8211-a8179675d269"
Online terminal to take the payment through; defaults to the business account's default terminal. Business accounts only, and not together with channel_id. Unrelated to device.terminal_id (the POS terminal).
"0b9d1c3e-6a51-4f6e-9a54-0f4f2b6e7d11"
Optional transaction-level split allocations in minor units. The full payment lands in the main acceptance account first; each allocation is then transferred to its destination, and the remainder stays in the main account. The allocations must not total more than amount. If sent, it must contain at least one item.
1