Api Wallet
Payment

Payment

        
       POST https://business.novasend.app/v1/payin/sessions
      

Creates a secure payment intent session with no debit until the customer confirms the payment.

Request Headers

HeaderDescriptionRequired
AuthorizationUsed to authenticate the API, Basic base64(api_key:api_client)
X-Idempotency-KeyEnsures transaction uniqueness. The value must be a UUID
Content-Typeapplication/json
Accept-LanguageLanguage used for error messages. Supported values: en, fr

Resquest

FieldTypeDescriptionRequired
referencestringUnique transaction identifier on the merchant side (UUID recommended).
amountnumberAmount to be paid (in whole units, no decimals).
msisdnstringPayer’s phone number (E.164 format).
customerNamestringName of the customer initiating the payment.
countrystringISO country code (CI, CM).
action.successUrlurlRedirect URL after a successful action.
action.failureUrlurlRedirect URL after a failed action.

{
  "reference": "uuid-merchant",
  "amount": 300,
  "msisdn": "{{phoneNumber}}",
  "customerName": "John Doe",
  "country": "CI",
  "action": {
     "successUrl": "{{Your Success URL}}",
     "failureUrl": "{{Your failure URL}}"
  }
}

Response

{
 "id": "pr_bakvkozbmqcmte1d8izelffjlz",
 "type": "payin",
 "reference": "0f3fed58-0590-434e-8a00-5d6cd3560382",
 "status": "processing",
 "confirmationRequired": true,
 "confirmationStatus": "none",
 "paymentUrl": "https://business.novasend.app/link/QGRD4D",
 "customer": {
     "name": "Aziz",
     "phoneNumber": "+225xxxxxxxxx"
 },
 "isDirect": false,
 "payFee": false,
 "createdAt": "2026-01-19T09:11:25.832Z",
 "amount": 200,
 "fee": 7,
 "chargedAmount": 207,
 "currency": "XOF",
 "failure": null
}

  • Response Fields Description
FieldDescription
idUnique identifier of the payment session.
typeOperation type — here payin for an incoming payment.
referenceMerchant-provided reference used to identify the payment.
statusInitial payment status (processing, processed, expired, etc.).
confirmationRequiredIndicates whether customer confirmation is required before the payment is executed.
confirmationStatusCurrent customer confirmation state (none, pending, accepted, declined).
paymentUrlWeb/deep link allowing the customer to confirm the payment via his Novasend application.
isDirectIndicates whether the payment was initiated via a direct flow.
payFeeIndicates whether transaction fees are covered by the merchant.
createdAtPayment session creation timestamp.
amountGross payment amount.
feeService fees applied to the transaction.
chargedAmountTotal debited amount (amount + fees).
currencyTransaction currency (e.g. XOF, XAF).
failureError details if the payment failed (null if successful).

  • customer

    FieldDescription
    nameName of the customer.
    phoneNumberCustomer phone number (international format).

Payment status

        
       GET https://business.novasend.app/v1/payin/{reference}
      

This endpoint allows you to retrieve the current status of a payment at any time.


Response

   {
     "id": "pr_bakvkozbmqcmte1d8izelffjlz",
     "type": "payin",
     "reference": "0f3fed58-0590-434e-8a00-5d6cd3560382",
     "status": "processing",
     "confirmationRequired": true,
     "confirmationStatus": "none",
     "paymentUrl": "https://business.novasend.app/link/QGRD4D",
     "customer": {
         "name": "Aziz",
         "phoneNumber": "+225xxxxxxxxx"
     },
     "isDirect": false,
     "payFee": false,
     "createdAt": "2026-01-19T09:11:25.832Z",
     "amount": 200,
     "fee": 7,
     "chargedAmount": 207,
     "currency": "XOF",
     "failure": null
 }