curl --request POST \
--url https://staging-idaas.yourflexpay.com/api/v1/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderTag": "@alice",
"receiverTag": "@bob",
"amount": 1500,
"currency": "NGN",
"narration": "School fees payment",
"callbackUrl": "https://my-app.example.com/webhooks/transactions",
"idempotencyKey": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://staging-idaas.yourflexpay.com/api/v1/transactions"
payload = {
"senderTag": "@alice",
"receiverTag": "@bob",
"amount": 1500,
"currency": "NGN",
"narration": "School fees payment",
"callbackUrl": "https://my-app.example.com/webhooks/transactions",
"idempotencyKey": "550e8400-e29b-41d4-a716-446655440000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
senderTag: '@alice',
receiverTag: '@bob',
amount: 1500,
currency: 'NGN',
narration: 'School fees payment',
callbackUrl: 'https://my-app.example.com/webhooks/transactions',
idempotencyKey: '550e8400-e29b-41d4-a716-446655440000'
})
};
fetch('https://staging-idaas.yourflexpay.com/api/v1/transactions', 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://staging-idaas.yourflexpay.com/api/v1/transactions",
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([
'senderTag' => '@alice',
'receiverTag' => '@bob',
'amount' => 1500,
'currency' => 'NGN',
'narration' => 'School fees payment',
'callbackUrl' => 'https://my-app.example.com/webhooks/transactions',
'idempotencyKey' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://staging-idaas.yourflexpay.com/api/v1/transactions"
payload := strings.NewReader("{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://staging-idaas.yourflexpay.com/api/v1/transactions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-idaas.yourflexpay.com/api/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}Initiate a tag-to-tag payment
Creates a new cross-application payment from a tag owned by the calling application
to any tag on any application. The transaction starts in AWAITING_ACCEPTANCE state.
The receiving application is notified via webhook and must call
POST /v1/transactions/{reference}/accept or .../reject.
Idempotency: Supply a unique Idempotency-Key header; duplicate calls within
24 hours return the original response without creating a new transaction.
Rate limited to 60 requests per minute per application.
curl --request POST \
--url https://staging-idaas.yourflexpay.com/api/v1/transactions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"senderTag": "@alice",
"receiverTag": "@bob",
"amount": 1500,
"currency": "NGN",
"narration": "School fees payment",
"callbackUrl": "https://my-app.example.com/webhooks/transactions",
"idempotencyKey": "550e8400-e29b-41d4-a716-446655440000"
}
'import requests
url = "https://staging-idaas.yourflexpay.com/api/v1/transactions"
payload = {
"senderTag": "@alice",
"receiverTag": "@bob",
"amount": 1500,
"currency": "NGN",
"narration": "School fees payment",
"callbackUrl": "https://my-app.example.com/webhooks/transactions",
"idempotencyKey": "550e8400-e29b-41d4-a716-446655440000"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
senderTag: '@alice',
receiverTag: '@bob',
amount: 1500,
currency: 'NGN',
narration: 'School fees payment',
callbackUrl: 'https://my-app.example.com/webhooks/transactions',
idempotencyKey: '550e8400-e29b-41d4-a716-446655440000'
})
};
fetch('https://staging-idaas.yourflexpay.com/api/v1/transactions', 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://staging-idaas.yourflexpay.com/api/v1/transactions",
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([
'senderTag' => '@alice',
'receiverTag' => '@bob',
'amount' => 1500,
'currency' => 'NGN',
'narration' => 'School fees payment',
'callbackUrl' => 'https://my-app.example.com/webhooks/transactions',
'idempotencyKey' => '550e8400-e29b-41d4-a716-446655440000'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://staging-idaas.yourflexpay.com/api/v1/transactions"
payload := strings.NewReader("{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://staging-idaas.yourflexpay.com/api/v1/transactions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://staging-idaas.yourflexpay.com/api/v1/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"senderTag\": \"@alice\",\n \"receiverTag\": \"@bob\",\n \"amount\": 1500,\n \"currency\": \"NGN\",\n \"narration\": \"School fees payment\",\n \"callbackUrl\": \"https://my-app.example.com/webhooks/transactions\",\n \"idempotencyKey\": \"550e8400-e29b-41d4-a716-446655440000\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}{
"success": true,
"message": "<string>",
"errorCode": "<string>",
"data": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "TXN-16820000-AB1C2D3E",
"senderTag": "@alice",
"senderAppName": "WalletApp",
"senderAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"receiverTag": "@bob",
"receiverAppName": "PaymentsApp",
"receiverAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": 1500,
"currency": "NGN",
"status": "AWAITING_ACCEPTANCE",
"narration": "School fees payment",
"expiresAt": "2023-11-07T05:31:56Z",
"acceptedAt": "2023-11-07T05:31:56Z",
"rejectedAt": "2023-11-07T05:31:56Z",
"rejectionReason": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"webhooks": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transactionReference": "TXN-16820000-AB1C2D3E",
"applicationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"applicationName": "<string>",
"direction": "RECEIVER",
"targetUrl": "https://app-b.example.com/webhooks/transactions",
"eventType": "TRANSACTION_INITIATED",
"status": "PENDING",
"attempts": 123,
"lastError": "<string>",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"deliveredAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
},
"errors": [
"<string>"
],
"timestamp": "2023-11-07T05:31:56Z"
}Authorizations
Obtain a token from POST /v1/auth/token using your client_id and client_secret, then enter Bearer <token> here.
Headers
Optional idempotency key (UUID or any unique string, max 128 chars). Duplicate calls with the same key within 24 hours return the original response.
Body
Request body for initiating a cross-application tag-to-tag payment
The sender's tag handle (must belong to the calling application)
"@alice"
The recipient's tag handle (can belong to any application)
"@bob"
Positive payment amount with up to 4 decimal places
x > 0.00011500
ISO 4217 currency code (defaults to NGN)
^[A-Z]{3}$"NGN"
Optional human-readable payment note
500"School fees payment"
Optional HTTPS URL that IDaaS will POST the final transaction status to once accepted or rejected
500"https://my-app.example.com/webhooks/transactions"
Client-supplied idempotency key (UUID v4 recommended). Duplicate calls within 24 hours return the original response.
64"550e8400-e29b-41d4-a716-446655440000"