Make Payment
Step 1 - Initiate SDK
sample escape string
Important Note - You can Follow any one of the methods below to initiate payment widget
a. Make Payment with order object
Create Order Data Object with necessary inputs
You can create the order data or payment input with our OrderData Model class. Here you need to provide order id, title, description, currency code, order amount and customer details like name, email and mobile number.
*Important Note*
orderData.customerUniqueReference = "Unique value"
// Unique value must be customer id/email/mobile number for saved card feature.
Now make payment with order data you created above.
b.make Payment with reference token
Initialize api
Get Reference Token
POST
https://api.foloosi.com/aggregatorapi/web/initialize-setup
Headers
secret_key*
String
Your Merchant Key get from Foloosi Panel
Request Body
transaction_amount*
Double
customer_unique_identifier
String
customer_mobile*
String
customer_email*
String
customer_name*
String
currency*
String
billing_state
String
customer_city
String
customer_address
String
billing_country
String
billing_postal_code
String
source*
String (ios_sdk)
For apple pay "ios_sdk" should be passed
Api Specification
Request call must be in POST.
With this api only your going to confirm which feature you are using.
For Saved Card Payment Method, You need to pass your customer unique details like email,etc., in customer_unique_identifier.
Post Request Body
customer_unique_identifier
It is mandatory when you are using saved card payment.
It must be Unique like email id,customer id, etc.,
Support
Visit https://www.foloosi.com for support requests or email to [email protected].
Developed by
Foloosi Technologies Pvt Ltd.
License
Copyrights (c) 2024 Foloosi
Last updated