Skip to main content
POST
/
v1
/
payments
/
send
Send payment
curl --request POST \
  --url https://api.platnova.com/v1/payments/send \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "from_amount": 100.5,
  "from_wallet_id": "43a2b75e-5c59-429e-872a-2a54c7b17e37",
  "to_currency": "NGN",
  "payment_method": "bank_transfer",
  "info": {
    "account_number": "0123456789",
    "bank_code": "058",
    "account_name": "John Doe"
  },
  "is_save_to_beneficiary": false,
  "reference": "txn-001",
  "payment_type": {
    "type": "instant"
  }
}
'
import requests

url = "https://api.platnova.com/v1/payments/send"

payload = {
"from_amount": 100.5,
"from_wallet_id": "43a2b75e-5c59-429e-872a-2a54c7b17e37",
"to_currency": "NGN",
"payment_method": "bank_transfer",
"info": {
"account_number": "0123456789",
"bank_code": "058",
"account_name": "John Doe"
},
"is_save_to_beneficiary": False,
"reference": "txn-001",
"payment_type": { "type": "instant" }
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
from_amount: 100.5,
from_wallet_id: '43a2b75e-5c59-429e-872a-2a54c7b17e37',
to_currency: 'NGN',
payment_method: 'bank_transfer',
info: {account_number: '0123456789', bank_code: '058', account_name: 'John Doe'},
is_save_to_beneficiary: false,
reference: 'txn-001',
payment_type: {type: 'instant'}
})
};

fetch('https://api.platnova.com/v1/payments/send', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.platnova.com/v1/payments/send",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'from_amount' => 100.5,
'from_wallet_id' => '43a2b75e-5c59-429e-872a-2a54c7b17e37',
'to_currency' => 'NGN',
'payment_method' => 'bank_transfer',
'info' => [
'account_number' => '0123456789',
'bank_code' => '058',
'account_name' => 'John Doe'
],
'is_save_to_beneficiary' => false,
'reference' => 'txn-001',
'payment_type' => [
'type' => 'instant'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.platnova.com/v1/payments/send"

payload := strings.NewReader("{\n \"from_amount\": 100.5,\n \"from_wallet_id\": \"43a2b75e-5c59-429e-872a-2a54c7b17e37\",\n \"to_currency\": \"NGN\",\n \"payment_method\": \"bank_transfer\",\n \"info\": {\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\",\n \"account_name\": \"John Doe\"\n },\n \"is_save_to_beneficiary\": false,\n \"reference\": \"txn-001\",\n \"payment_type\": {\n \"type\": \"instant\"\n }\n}")

req, _ := http.NewRequest("POST", url, payload)

req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.post("https://api.platnova.com/v1/payments/send")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"from_amount\": 100.5,\n \"from_wallet_id\": \"43a2b75e-5c59-429e-872a-2a54c7b17e37\",\n \"to_currency\": \"NGN\",\n \"payment_method\": \"bank_transfer\",\n \"info\": {\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\",\n \"account_name\": \"John Doe\"\n },\n \"is_save_to_beneficiary\": false,\n \"reference\": \"txn-001\",\n \"payment_type\": {\n \"type\": \"instant\"\n }\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.platnova.com/v1/payments/send")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"from_amount\": 100.5,\n \"from_wallet_id\": \"43a2b75e-5c59-429e-872a-2a54c7b17e37\",\n \"to_currency\": \"NGN\",\n \"payment_method\": \"bank_transfer\",\n \"info\": {\n \"account_number\": \"0123456789\",\n \"bank_code\": \"058\",\n \"account_name\": \"John Doe\"\n },\n \"is_save_to_beneficiary\": false,\n \"reference\": \"txn-001\",\n \"payment_type\": {\n \"type\": \"instant\"\n }\n}"

response = http.request(request)
puts response.read_body
{
  "status": true,
  "data": {
    "transaction_ref": "<string>",
    "status": "<string>",
    "from_amount": 123,
    "to_amount": 123,
    "from_currency": "<string>",
    "to_currency": "<string>",
    "method": "<string>",
    "created_at": "<string>"
  },
  "error": [
    "<unknown>"
  ],
  "message": "<string>"
}
{
"status": true,
"data": {},
"error": [
"<unknown>"
],
"message": "<string>"
}
{
"error": {
"from_amount": [
"This field is required"
],
"from_wallet_id": [
"This field is required"
],
"to_currency": [
"This field is required"
],
"payment_method": [
"This field is required"
],
"info": [
"This field is required"
]
}
}

Overview

Send a payment using the specified payment method. Supported methods include bank_transfer, card, mobile_money, tag_transfer (wallet-to-wallet), defi, revolut, paypal, ussd, cashapp, and zelle. Provide from_amount, from_wallet_id, to_currency, payment_method, and info (recipient details; fields depend on the method). For tag transfer, info must include tag_id. Payments can be instant, scheduled, or recurring.

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Body

application/json
from_amount
number
required

Amount to send (source currency)

Required range: x >= 0.01
from_wallet_id
string
required

Wallet ID to debit from

to_currency
string
required

Destination currency (e.g. NGN, USD)

payment_method
string
required

One of: card, bank_transfer, mobile_money, wallet, tag_transfer, defi, revolut, paypal, cashapp, zelle, ussd

info
object
required

Recipient details; required fields depend on payment_method (e.g. account_number, bank_code, account_name for bank_transfer; tag_id for tag_transfer)

is_save_to_beneficiary
boolean

Save recipient as beneficiary

reference
string

Idempotency or client reference

document
string

Base64-encoded document (e.g. invoice)

payment_type
object
approver
string

Account UID to notify for approval (non-owner)

Response

Payment initiated successfully

status
boolean
data
object
error
any[]
message
string