POST/v1/transactions/initiate

Checkout Initialize

Initialize a checkout transaction. This API is synchronous.

Details

AuthorizationBearer API Key
Content TypeApplication/Json
URLhttps://360pay-merchant-api.libertepay.com/v1/transactions/initiate
MethodPOST

Parameters

NameTypeRequiredDescription
emailstringYesPayee email
amountstringYesAmount to be disbursed
phone_numberstringNoPayment phone number
payment_slugstringNoService provider

Parameters Description

ParameterDescriptionisMandatoryComment
emailPayee EmailYes
payment_slugService providermtn, telecel-cash, at-money
amountAmount to be disbursed
phone_numberPayment phone number
access_codeReference code (frontend)
payment_urlCheckout urlhttps://uat360pay-checkout.libertepay.com/checkout/2K0MNU1NSZ0Lj
referenceUser narration for the transaction
statusStatus of the transaction
msgDescription of the status

Status Codes

200Success
401Unauthorized
500System error

Try It

Request Body

json
{
  "email": "string",
  "amount": float,
  "phone_number": "string",
  "payment_slug": "string"
}
Response Body
{
  "Code": "string",
  "data": {
    "access_code": "string",
    "payment_url": "string",
    "reference": "string"
  },
  "msg": "string",
  "status": "string"
}