v1

latestOpenAPI 3.1.02026-07-26290731.0 KB

Create Bill

post/paymentgateway/api/v1/paybill

Headers

Content-Typestring required
Authorizationstring

Request body

merchantCodestring required

Your merchant code

payableCodestring required

Your payable code/pay item id

amountstring required
redirectUrlstring required

The URL you want the customer to be redirected to after a successful payment

transactionReferencestring

Transaction Reference on your system you want the payment to be linked to if successful

customerIdstring

The customer id on your system

currencyCodestring required
customerEmailstring required

The email address of the customer

Response

200

idinteger
merchantCodestring
payableCodestring
amountinteger
{"stackTrail":"paths:/paymentgateway/api/v1/paybill:post:responses:200:content:application/json:schema:properties:surcharge","oasType":"schema","type":"unknown"}
codestring
transactionReferencestring
redirectUrlstring
customerIdstring
referencestring
customerEmailstring
currencyCodestring
{"stackTrail":"paths:/paymentgateway/api/v1/paybill:post:responses:200:content:application/json:schema:properties:createdOn","oasType":"schema","type":"unknown"}
enabledboolean
paymentUrlstring

Example response

{
  "id": 10275,
  "merchantCode": "MX6072",
  "payableCode": "9405967",
  "amount": 5000,
  "code": "200",
  "transactionReference": "abcefdjaaajaa1",
  "redirectUrl": "https://webpay-ui.k8.isw.la/demo-response",
  "customerId": "ibro_07@yahoo.com",
  "reference": "NSzaOhxSJNVspGz",
  "customerEmail": "ibro_07@yahoo.com",
  "currencyCode": "566",
  "enabled": true,
  "paymentUrl": "https://project-x-merchant.k8.isw.la/paymentgateway/paybill/NSzaOhxSJNVspGz"
}