Borderless Payments API
  • Borderless Payments API
  • Authentication
    • Intro
    • Token
  • PAYMENT
    • Charge
      • S2S Integration
      • HPP Integration
      • Crypto Integration
    • Verify Transaction
      • Transaction Details
  • Testing
    • Information
Powered by GitBook
On this page
  1. PAYMENT
  2. Charge

HPP Integration

You have to redirect to the link which is returned in respomse data. In addition, you need to store the value of field reference and orderid for using api Verify Transaction.

Charge Transaction

POST https://borderlesspaymentng.com/api/charge

Headers

Name
Type
Description

authorization*

String

Bearer YOUR_SECRET_KEY

content-type*

String

application/json

Request Body

Name
Type
Description

amount*

String

amount

currency*

String

currency - USD

reference*

String

your transaction reference

firstname*

String

first name

lastname*

String

last name

email*

String

email

phone*

String

phone

callback_url*

String

callback url with method GET

webhook_url

String

webhook url with method POST

{
  "status" : "success",
  "message" : "success",
  "data" : {
      "reference" : "abssjsu222",
      "orderid" : "1282827",
      "link" : "https://borderlesspaymentng.com/checkout/1136/a292929acvvb881272aajakakaka"
  }
}
{
    "status" : "failed",
    "message" : "Invalid Token"
}
{
    "status" : "failed",
    "message" : "Bad Request"
}
PreviousS2S IntegrationNextCrypto Integration

Last updated 11 months ago