Startbutton Product API
  • Startbutton API doc
    • Get Started
    • Accept Payments
    • Server-to-Server Integration
      • S2S Integration for Virtual Accounts
        • S2S Virtual account (NGN)
        • S2S Virtual account (GHS)
        • S2S EFT (ZAR)
      • S2S Integration for Mobile Money
        • S2S MoMo (KES and GHS)
        • S2S MoMo (TZS and UGX)
        • S2S MoMo (RWF)
        • S2S MoMo XOF and XAF
    • Re-charge Card
    • Subscriptions
    • Payment Links
    • Currency Conversion
    • Get Wallet Balance
    • Transfer
      • Bank List
    • Security Measures.
      • IP Whitelisting
    • Webhook
    • Transaction Status
    • Get FX Rate
    • Under and Overpayments
    • Refunds
      • Refund Transaction Status (TSQ)
    • Available Currencies
    • FAQs
  • Advanced Security
    • Signed Payload for Transfer Requests.
Powered by GitBook
On this page
  1. Startbutton API doc
  2. Server-to-Server Integration
  3. S2S Integration for Mobile Money

S2S MoMo (RWF)

Initiate S2S

Authorization
Set to Bearer PUBLIC_KEY

Content-Type

Set value to application/json

The public key can be gotten from the 'Settings' page on your Startbutton dashboard.

Post a request to the URL below, where the base URL is determined by the environment you are in.

BaseUrls

PROD : https://api.startbutton.tech

DEV/ Staging: https://api-dev.startbutton.tech

POST {{baseurl}}/transaction/initialize/s2s/mobile_money

Sample code:

{
    "provider": "MTN",
    "phone": "250123123123",
    "amount": 2000,
    "email": "RWF-momo-test@customer.com",
    "currency": "RWF"
}
{
    "provider": "MTN",
    "phone": "250998998998",
    "amount": 2000,
    "email": "RWF-momo-test@customer.com",
    "currency": "RWF"
}
{
    "provider": "MTN",
    "phone": "250785283918",
    "amount": 2000,
    "email": "RWF-momo-test@customer.com",
    "currency": "RWF",
    "reference": "eybr34muxk"
}

We support only two Mobile money providers: MTN & Airtel and as the case may be, you are expected to pass any of the 2 as the provider.

Sample response:

{
    "success": true,
    "message": "Payment Request Successful",
    "data": {
        "reference": "a76b2d362692",
        "nextStep": "PIN"
    }
}
{
    "success": false,
    "message": "Payment failed",
    "data": {}
}
PreviousS2S MoMo (TZS and UGX)NextS2S MoMo XOF and XAF

Last updated 24 days ago