XtraPay Virtual Account API

Complete integration guide for developers

Overview

XtraPay Virtual Accounts allow you to collect payments from customers via bank transfers. When a customer wants to pay, you request a virtual account number from our API, display it to the customer, and receive instant notifications when payment is received.

Features

Quick Start Steps

  1. Get API Credentials: Log in to xtrapay.cash and get your API Code and API Key
  2. Request Account: Call POST /api/v1/virtual-accounts/request with amount and customer details
  3. Display to Customer: Show the account number and bank details
  4. Receive Payment: Get webhook notification when customer pays
  5. Update Order: Process the payment in your system

API Endpoints

Method Endpoint Description
POST /api/v1/virtual-accounts/request Request a new virtual account number
POST /api/v1/virtual-accounts/check-status Check payment status for a transaction

Transaction Fees

Fee Structure: 1.5% of transaction amount + ₦100 flat fee

Example: Customer pays ₦10,000
Fees: ₦150 (1.5%) + ₦100 = ₦250
You receive: ₦9,750

Fees are automatically deducted when payment is received. View fee calculator for detailed calculations.

Need Help?

If you need assistance with integration:

Log In to Get Started