Finix
  1. Payment
Finix
  • Finix API Documentation
  • Introduction
  • Signature
  • Signature Verification
  • India
    • Payment
      • Initiate
        POST
      • Fetch
        POST
      • Webhook
        POST
    • Payout
      • Initiate
      • Fetch
      • Webhook
  • Nigeria
    • Payment
      • Initiate
      • Fetch
      • Webhook
    • Payout
      • Initiate
      • Fetch
      • Webhook
      • Bank Code
  • Balance
    POST
  • USDT Rate
    POST
  1. Payment

Initiate

POST
https://secure.finixpayment.com/v1/api/payment/initiate
This endpoint allows you to initiate a transaction on Finix and returns a checkout URL that can be loaded in a browser to display the payment form to the customer. The checkout URL is valid for 30 minutes.

Request

Header Params

Body Params application/json

Example
{
    "merchantRef": "0954f567-ea8f-49b4-920f-c49174aa2c1f",
    "amount": 100,
    "currency": "INR",
    "method": "NATIVE",
    "name": "Lucia Lesch",
    "phone": "82445415208",
    "email": "quinten31@yahoo.com",
    "redirectUrl": "https://www.redirect.com/"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://secure.finixpayment.com/v1/api/payment/initiate' \
--header 'MerchantID: FX100001' \
--header 'Signature: 7QbwLbLsS0MAVK3RizeDrNrHZYsKheOVE5yrzH2ectK6uwwT3RMtEJjXHaYi2BFcNUuqMqVknbOc0eIatK0r8BQT87i3U60pvVBblrPG02QkHBJYGBel2pH09oUZ0BNSsphZADxvQqTUVkTXbdaBIZYo8GGY3m96Rb5vUToKEzQ66cm3bduhuxjXf12gXoEgoPFQ8vlpXOAlMxQ5ARMylmNv25Ov29gidi4Z0qjimu96FSWcnxcXvIZfQD7HMzhC' \
--header 'Timestamp: 1750553505' \
--header 'Content-Type: application/json' \
--data-raw '{
    "merchantRef": "0954f567-ea8f-49b4-920f-c49174aa2c1f",
    "amount": 100,
    "currency": "INR",
    "method": "NATIVE",
    "name": "Lucia Lesch",
    "phone": "82445415208",
    "email": "quinten31@yahoo.com",
    "redirectUrl": "https://www.redirect.com/"
}'

Responses

🟢200Success
application/json
Body

Examples
{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "transactionRef": "d1ebde00-5f4a-4085-9fd6-5e0852af259f",
        "merchantRef": "44021ca9-1acb-4ef4-aebb-8217e75398a9",
        "method": "NATIVE",
        "amount": "100",
        "checkoutUrl": "https://www.finixpayment.com/checkout"
    }
}
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
Previous
Signature Verification
Next
Fetch
Built with