latestOpenAPI 3.0.02026-08-101010.0 KB
dc2fd4cd3140
Deposits
Creates a deposit request
post/deposits
Headers
Content-Typestring required
Media type of the body sent to the API.
X-Datestring date-time required
ISO8601 Datetime with Timezone: yyyy-MM-dd'T'HH:mm:ssZ
X-Loginstring required
Merchant X-Login API Key.
Authorizationstring required
Authorization control hash.
X-Idempotency-Keystring
Unique idempotency key for ensuring that the same request is not processed more than once.
Request body
Example request
{
"invoice_id": "1000000001",
"amount": "5000",
"country": "NG",
"currency": "NGN",
"payment_method": "TR",
"payer": {
"id": "1122",
"document": "84932568207",
"first_name": "John",
"last_name": "Doe",
"email": "Johndoe@hotmail.com",
"phone": "+2348123457856",
"address": {
"street": "Lekki 13",
"city": "Lagos",
"state": "LG",
"zip_code": 100200
}
},
"description": "test description",
"client_ip": "123.123.123.123",
"device_id": "00000000-00000000-01234567-89ABCDEF",
"back_url": "https://www.lime-pay.com/deposit_cancelled",
"success_url": "https://www.lime-pay.com/deposit_completed",
"error_url": "https://www.lime-pay.com/deposit_error",
"notification_url": "https://www.lime-pay.com/limepay/notify",
"logo": "https://www.lime-pay.com/limepay.png",
"test": true,
"mobile": false,
"language": "en"
}Response
Successful creation of the transaction
Example response
{
"checkout_type": "ONE_SHOT",
"redirect_url": "https://checkout-stg.lime-pay.com/v1/gateway/show?id_payment=56578849&signature=fff0e0a6a98066c19caf",
"deposit_id": 300000025,
"user_id": "1122",
"merchant_invoice_id": "postmanTest123456",
"payment_info": {
"type": "BANK_TRANSFER",
"payment_method": "TR",
"payment_method_name": "Bank Transfer",
"amount": 5000,
"currency": "NGN",
"expiration_date": "2020-06-17 07:04:16",
"created_at": "2020-06-16 19:04:16",
"metadata": {
"Beneficiary_name": "LimePay",
"Bank": "Test Bank",
"provider_reference": "MockFLWRef-1722395586437"
}
}
}