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)'

Create Payme

post
Authorizations
Body
emailstringOptionalExample: test@gmail.com
amountstringOptionalExample: 10000000
namestringOptionalExample: Micheal John
phonestringOptionalExample: 2347065786565
descriptionstringOptionalExample: test
referencestringOptionalExample: RHD4625713787
urlstringOptionalExample: https://therootshive/transaction/chkhj462579
Responses
200

Successful response

No content

post
POST /collections/payme HTTP/1.1
Host: {{baseUrl}}
Authorization: Bearer JWT
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?