Create payment Token
Let's see how to create a payment 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
currency*
String
transaction_amount*
Double
customer_name
String
site_return_url
String
customer_unique_identifier
String
billing_country
String
billing_postal_code
String
billing_state
String
customer_city
String
customer_address
String
customer_mobile
String
customer_email
String
partner_unique_reference
String
partner unique ID
Api Specification
Request call must be on POST.
This Api will be used to confirm the feature you are about to Use.
For Hosting Payment Method, You need to pass your callback URL in site_return_url.
For Saved Card Payment Method, You need to pass your customer unique details like email,etc. to customer_unique_identifier.
Post Request Body
site_return_url
If you are using hosting payment, this is mandatory.
Otherwise, this is an optional field.
It must be a String.
Get's the payment response after payment complete.
customer_unique_identifier
This is mandatory when you are using saved card payment.
This data must be Unique like email id,customer id, etc.,
partner_unique_reference
This is mandatory when the transaction is based on partner flow.
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