Initiate Refund

Live:

POST https://api.ezeebit.com/open/api/v1/refund/initiate

UAT:

POST https://dev-api.ezeebit.com/open/api/v1/refund/initiate

Headers

Name
Type
Required
Value

Content-Type

string

Y

application/json

Ezeebit-Timestamp

long

Y

UnixTimestamp in milliseconds

Ezeebit-Nonce

string

Y

must be 32 digits

Ezeebit-Certificate-SN

string

Y

API key issued by Ezeebit Pay system

Ezeebit-Signature

string

Y

This should use SHA512, and be in upper case

Request Body

{
  "firstName": "dezzy",
  "lastName": "yoyo",
  "phoneNumber": "4483848",
  "emailAddress" : "[email protected]",
  "brandID": "43452",
  "subMerchantNum": "9706541042",
  "orderID" : "32536",
  "currency" :"USDT",
  "network" : "Ethereum",
  "amount" : 50.00,
  "txnHash" : "0xb9d1ba0709edca1619ea991804b74de",
  "toAddress" : "90X389299jh4462838298"
}

Form data

Paramenter
Type
Required
Description

firstName

string

Y

First name of the customer

lastName

string

Y

last name of the customer

phoneNumber

string

N

Phone number

emailAddress

string

Y

Email address for further communication

brandID

double

Y

Merchant brand ID

subMerchantNum

string

N

Submerchant ID

orderID

string

Y

Payment ID

currency

string

Y

Currency of payment

network

string

Y

Network

amount

double

Y

Actual payment amount

txnHash

string

Y

transaction hash of the payment

toaddress

string

Y

customer Address where funds get deposited

Response


{
"code": 200,
"msg": "success",
"data": true
}

Last updated