Create Payment (STC Pay)
Use this endpoint to create payment requests using an 'stcpay' source
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.
stc pay only accepts 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.
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.
an example of the payment lifecycle would be great like adding some diagram showing a payment goes from the Client to Moyasar then 3DS and then back to the Client.