POST
/v1/transactions/initiateCheckout 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
| Name | Type | Required | Description |
|---|---|---|---|
| string | Yes | Payee email | |
| amount | string | Yes | Amount to be disbursed |
| phone_number | string | No | Payment phone number |
| payment_slug | string | No | Service provider |
Parameters Description
| Parameter | Description | isMandatory | Comment |
|---|---|---|---|
| Payee Email | Yes | ||
| payment_slug | Service provider | mtn, telecel-cash, at-money | |
| amount | Amount to be disbursed | ||
| phone_number | Payment phone number | ||
| access_code | Reference code (frontend) | ||
| payment_url | Checkout url | https://uat360pay-checkout.libertepay.com/checkout/2K0MNU1NSZ0Lj | |
| reference | User narration for the transaction | ||
| status | Status of the transaction | ||
| msg | Description 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"
}