Create Order (Bank Account)

Introduction

Create order for bank-account based transactions.

API Description

Request Method:POST

Request Path:open/api/transfer/payment

Parameters

Request Parameters

Parameter

Sign

Mandatory

Type

Length

Description

appId

Y

Y

string

64

AppId is unique for merchant

sign

N

Y

string

512

Sign

merchantOrderNo

Y

Y

string

64

Merchant order number (must be unique)

amount

Y

Y

string

20

Order amount (unit as fiat currency, 1=1.00) Mexican Peso: MXN (supports two decimal places) Nigerian Naira: NGN (does not retain decimal places)

currency

Y

Y

string

20

Fiat currency (unit of amount)

email

N

N

string

64

User email

callbackUrl

Y

Y

string

128

The address receiving order webhook

bankParam

N

N

object

1024

Bank account expend parameter

customParam

N

N

object

1024

Custom fields

remark

N

N

string

1024

Remark

NGN / MXN customParam Expend Parameter

ParameterSignMandatoryTypeLengthDescription
bankCodeYYString32Bank code, refers to Bank Transfer Account Form api response
bankNameYYString32Bank name, refers to Bank Transfer Account Form api response
bankAccountNumberYYString32Bank Account Number

Request Parameter Example

{
  "appId": "TEST000001",
  "sign": "TEST000001",
  "merchantOrderNo": "11187",
  "amount": "10000",
  "currency": "NGN",
  "feeType": "INNER_BUCKLE",
  "userId": "[email protected]",
  "userIp": "14.232.142.199",
  "email": "[email protected]",
  "callbackUrl": "http://127.0.0.1:8022/open/api/callback",
  "bankParam": {
    "bankCode": "044",
    "bankName": "Access Bank",
    "bankAccountNumber": "0773593323"
  }
}

Response Parameters

ParameterTypeDescription
successbooleanSuccess
errorbooleanError
codelongResponse code
msgstringResponse message
traceIdstringTrace id
modelobjectResponse content

Response Parameter Example

{
  "code": "0",
  "msg": "success",
  "model": {
    "amount": "6.45",
    "orderNo": "400017506670013450114"
  },
  "traceId": "68590ef3ef9bd17e8671b85313daf949",
  "success": true,
  "error": false
}