Create Session - Subscription
Request
- Base URLhttps://api.ksamerchant.geidea.net
- URLhttps://api.ksamerchant.geidea.net/payment-intent/api/v2/direct/session-subscription
- AuthHTTP basic
Request body
The total amount value of the payment. This parameter is required, and the format is a double - a number with 2 digits after the decimal point. For example 19.99
The currency of the payment. This is a 3-digit alphabetic code, following the ISO 4217 currency code standard. For example: SAR
The timestamp of the moment at which the create session request has been initiated.
The unique identifier for the session given added by the merchant. Must be a valid UUID
A parameter to ensure the security and authenticity of API communications. It involves generating a signature using the contents of the API request and secret keys, which is then sent along with the request.
The subscription Id for which the payment is initiated. Must be a valid GUID. Subscription ID (generated from the create subscription API) can be passed in the request to capture the card on file details during the first transaction and later Geidea will auto-debit the customers as per the set frequency and interval based on securely stored token.
If you have previously generated a payment intent, you can use this parameter to link your order to the payment intent. This will process a payment for the specified payment intent.
The type of payment operation to be performed. This is an optional parameter - if not submitted, the Geidea gateway will process a 'Pay' operation by default.
Indicates whether to store the payment method for future use. If you pass 'true' in this field, Geidea will save the card and will return a tokenId in the callback after the order. This tokenId can be used later to process a payment for the same customer using the saved payment method.
The language to be used on the checkout page.
The URL where the payment gateway should send the callback after the transaction is completed. It must have a valid SSL certificate and start with 'https://'
Changes
No recorded changes to this operation across all 2 revisions of this API.