FinTechBiz Solutions
  • Authentication
    • Introduction
  • Transaction
    • Create Transaction
      • S2S
      • HPP
    • Validate Transaction
  • Testing Integration
    • Information
Powered by GitBook
On this page
  1. Transaction
  2. Create Transaction

HPP

POST https://fintechbizsolutions.com/api/transaction/create

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer SECRET_KEY

Body

Name
Type
Description

api_key*

string

API key

reference*

string

transaction reference

amount*

string

amount of transaction

currency*

string

currency (USD)

firstname*

string

customer's first name

lastname *

string

customer's last name

email*

string

customer's email

phone*

string

customer's phone

country*

string

customer's country code (IALPHA 2)

state*

string

customer's state code (ALPHA 2)

city*

string

customer's city

address*

string

customer's address

zip_code*

string

customer's post code

ip_address*

string

customer's ip address

redirect_url*

string

redirect url (GET)

callback_url*

string

callback url (POST)

isHPP

int

The fixed value is 1

Response

{
  "status" : "success",
  "message" : "success",
  "data" : {
      "reference" : "Ref-993837733",
      "link" : "https://fintechbizsolutions.com/api/transaction/checkout/1/woepepepepellslalalalakakaajjakkakaa"
  }
}
{
    "status" : "failed",
    "message" : "Bad Request"
}
{
    "status" : "failed",
    "message" : "Invalid Secret Key"
}
PreviousS2SNextValidate Transaction

Last updated 1 month ago