Rootshive
Create an AccountOnboardingStartUpsProduct DocumentationGo back Home
  • Welcome!
  • Quick Start
  • Reference
    • Authentication
      • Check Source
      • Generate Access Token
    • Collections
      • Wallet Balance
      • Create Payme
      • Generate Nuban
      • Verify Collections
    • Transfers
      • Initiating Single Transfers
      • Initiate Transfer (Single) API
      • Single Transfer Status
      • Reconcile Transfer
    • Events
      • Overview
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. Collections

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

PreviousWallet BalanceNextGenerate Nuban

Last updated 11 months ago

Was this helpful?

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