Create Payment (Token)
Use this endpoint to create payment requests using tokenized cards
Amount intended to be collected by this payment. A positive integer represents how much to charge in the smallest currency unit (e.g., 100 Halala to charge 1.00 SAR or 100 to charge ¥100, a zero-decimal currency). The minimum amount is 1 SAR or equivalent in charge currency.
3-letter ISO code for currency. E.g., SAR, CAD, USD. (default: SAR)
An arbitrary string that you can attach to a payment object. The description is only for your reference and it is NOT displayed to users.
The URL of the customer’s website page to be redirected to when using the payment form method or after a 3-D secure transaction (e.g., https://example.com/orders)
A payment source object to be charged, such as Apple Pay source, Credit Card source, or STC pay source. The details are described below. ('creditcard' for this example)
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.