Create Payme
Authorize this API call by including Authorization header that contains the word 'Basic' followed by a space and a base64-encoded string 'appid:rhkey' i.e. 'Basic base64(appid:rhkey)'
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
emailstringOptionalExample:
test@gmail.comamountstringOptionalExample:
10000000namestringOptionalExample:
Micheal JohnphonestringOptionalExample:
2347065786565descriptionstringOptionalExample:
testreferencestringOptionalExample:
RHD4625713787urlstringOptionalExample:
https://therootshive/transaction/chkhj462579Responses
200
Successful response
No content
post
/collections/paymePOST /collections/payme HTTP/1.1
Host: {{baseUrl}}
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"email": "test@gmail.com",
"amount": "10000000",
"name": "Micheal John",
"phone": "2347065786565",
"description": "test",
"reference": "RHD4625713787",
"url": "https://therootshive/transaction/chkhj462579"
}200
Successful response
No content
Last updated
Was this helpful?