Internal Transfer
Move funds between two accounts in ledger (same customer/different customers). This API is useful to support internal transfer between two different customer accounts. This is also useful in the fintech context while trying to automate the movement funds between accounts of the same customer.
Method: POST
{{URL}}/rpc/paymentv2
Headers
Name | Value |
---|---|
Content-Type | application/json |
Example
Payload Parameters
Parameter | Description |
---|---|
method | String Name of the API method to be invoked. Must be "ledger.ach.transfer" |
id | String Unique identifier for the request, used for tracking |
params.payload.channel | String Channel through which the transaction is initiated (e.g., "API") |
params.payload.transactionType | String Type of transaction. Example: "INTERNAL_TRANSFER" |
params.payload.product | String Product associated with the transfer. Example: "DEFAULT" |
params.payload.program | String Program name associated with the transaction. Example: "DEFAULT" |
params.payload.transactionDateTime | String (DateTime) Date and time of the transaction in YYYY-MM-DD HH:MM:SS format |
params.payload.reference | String Unique reference ID for the transaction |
params.payload.reason | String Reason for the transaction. Example: "Settlement" |
params.payload.transactionAmount.amount | String (Decimal) Amount to be transferred. Example: "200" |
params.payload.transactionAmount.currency | String Currency of the transaction amount. Example: "USD" |
params.payload.debtorAccount.identification | String Identifier of the debtor's account |
params.payload.debtorAccount.identificationType | String Type of debtor account identifier. Example: "ACCOUNT_NUMBER" |
params.payload.debtorAccount.institution.name | String Name of the debtor's financial institution. Example: "CBW BANK" |
params.payload.debtorAccount.institution.identification | String Identifier of the institution. Example: "101110802" |
params.payload.debtorAccount.institution.identificationType | String Type of institution identifier. Example: "ABA" |
params.payload.creditorAccount.identification | String Identifier of the creditor's account |
params.payload.creditorAccount.identificationType | String Type of creditor account identifier. Example: "ACCOUNT_NUMBER" |
params.api.credential | String Authentication credential/token used for API access |
params.api.signature | String Cryptographic signature for securing the API call |
params.api.apiKey | String API key assigned to the application/client |
- cURL
- C#
- Go
- NodeJS
curl --location 'https://plus.netxd.com/pl/rpc/paymentv2' \
--header 'Signature: MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==' \
--data '{"method":"ledger.ach.transfer","id":"1","params":{"payload":{"channel":"API","transactionType":"INTERNAL_TRANSFER","product":"DEFAULT","program":"DEFAULT","transactionDateTime":"2021-01-19 06:20:35","reference":"REF161132438","reason":"Settlement","transactionAmount":{"amount":"200","currency":"USD"},"debtorAccount":{"identification":"200829782920526","identificationType":"ACCOUNT_NUMBER","institution":{"name":"CBW BANK","identification":"101110802","identificationType":"ABA"}},"creditorAccount":{"identification":"200842161180479","identificationType":"ACCOUNT_NUMBER"}},"api":{"credential":"Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==","signature":"MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA","apiKey":"9b474eee0cc54fd6941093c7d12c67fb"}}}'
using System;
using RestSharp;
using System.Threading;
using System.Threading.Tasks;
namespace HelloWorldApplication {
class HelloWorld {
static async Task Main(string[] args) {
var options = new RestClientOptions("https://plus.netxd.com")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/pl/rpc/paymentv2", Method.Post);
request.AddHeader("Signature", "MEQCID1QhOgf1ZRALNU+4XtiRsvkcAVV7SCnwCgh0etBgts8AiBbguc/bwV2Ip/tJ3Xbq/4179KiZ8dZoeUEJs9ZL4ItRQ==");
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==");
var body = @"{""method"":""ledger.ach.transfer"",""id"":""1"",""params"":{""payload"":{""channel"":""API"",""transactionType"":""INTERNAL_TRANSFER"",""product"":""DEFAULT"",""program"":""DEFAULT"",""transactionDateTime"":""2021-01-19 06:20:35"",""reference"":""REF161132438"",""reason"":""Settlement"",""transactionAmount"":{""amount"":""200"",""currency"":""USD""},""debtorAccount"":{""identification"":""200829782920526"",""identificationType"":""ACCOUNT_NUMBER"",""institution"":{""name"":""CBW BANK"",""identification"":""101110802"",""identificationType"":""ABA""}},""creditorAccount"":{""identification"":""200842161180479"",""identificationType"":""ACCOUNT_NUMBER""}},""api"":{""credential"":""Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg=="",""signature"":""MEQCID1QhOgf1ZRALNU+4XtiRsvkcAVV7SCnwCgh0etBgts8AiBbguc/bwV2Ip/tJ3Xbq/4179KiZ8dZoeUEJs9ZL4ItRQ=="",""apiKey"":""9b474eee0cc54fd6941093c7d12c67fb""}}}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://plus.netxd.com/pl/rpc/paymentv2"
method := "POST"
payload := strings.NewReader(`{"method":"ledger.ach.transfer","id":"1","params":{"payload":{"channel":"API","transactionType":"INTERNAL_TRANSFER","product":"DEFAULT","program":"DEFAULT","transactionDateTime":"2021-01-19 06:20:35","reference":"REF161132438","reason":"Settlement","transactionAmount":{"amount":"200","currency":"USD"},"debtorAccount":{"identification":"200829782920526","identificationType":"ACCOUNT_NUMBER","institution":{"name":"CBW BANK","identification":"101110802","identificationType":"ABA"}},"creditorAccount":{"identification":"200842161180479","identificationType":"ACCOUNT_NUMBER"}},"api":{"credential":"Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==","signature":"MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA","apiKey":"9b474eee0cc54fd6941093c7d12c67fb"}}}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Signature", "MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA")
req.Header.Add("Content-Type", "application/json")
req.Header.Add("Authorization", "Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
var https = require('follow-redirects').https;
var fs = require('fs');
var options = {
'method': 'POST',
'hostname': 'plus.netxd.com',
'path': '/pl/rpc/paymentv2',
'headers': {
'Signature': 'MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA',
'Content-Type': 'application/json',
'Authorization': 'Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg=='
},
'maxRedirects': 20
};
var req = https.request(options, function (res) {
var chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function (chunk) {
var body = Buffer.concat(chunks);
console.log(body.toString());
});
res.on("error", function (error) {
console.error(error);
});
});
var postData = JSON.stringify({
"method": "ledger.ach.transfer",
"id": "1",
"params": {
"payload": {
"channel": "API",
"transactionType": "INTERNAL_TRANSFER",
"product": "DEFAULT",
"program": "DEFAULT",
"transactionDateTime": "2021-01-19 06:20:35",
"reference": "REF161132438",
"reason": "Settlement",
"transactionAmount": {
"amount": "200",
"currency": "USD"
},
"debtorAccount": {
"identification": "200829782920526",
"identificationType": "ACCOUNT_NUMBER",
"institution": {
"name": "CBW BANK",
"identification": "101110802",
"identificationType": "ABA"
}
},
"creditorAccount": {
"identification": "200842161180479",
"identificationType": "ACCOUNT_NUMBER"
}
},
"api": {
"credential": "Basic ay5yYWpha2FubnUrMDIxQG5ldHhkLmNvbTo5YjQ3NGVlZTBjYzU0ZmQ2OTQxMDkzYzdkMTJjNjdmYg==",
"signature": "MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA",
"apiKey": "9b474eee0cc54fd6941093c7d12c67fb"
}
}
});
req.write(postData);
req.end();
Body
{
"method": "ledger.ach.transfer",
"id": "1",
"params": {
"payload": {
"channel": "API",
"transactionType": "INTERNAL_TRANSFER",
"product": "DEFAULT",
"program": "DEFAULT",
"transactionDateTime": "2021-01-19 06:20:35",
"reference": "REF161132438",
"reason": "Settlement",
"transactionAmount": {
"amount": "200",
"currency": "USD"
},
"debtorAccount": {
"identification": "200829782920526",
"identificationType": "ACCOUNT_NUMBER",
"institution": {
"name": "CBW BANK",
"identification": "101110802",
"identificationType": "ABA"
}
},
"creditorAccount": {
"identification": "200842161180479",
"identificationType": "ACCOUNT_NUMBER"
}
},
"api": {
"credential": "{{legarepcred}}",
"signature": "{{signature}}",
"apiKey": "{{legalrepkey}}"
}
}
}
Response: 200
Payload Parameters
Parameter | Description |
---|---|
id | String Unique identifier matching the API request ID |
result.api.type | String Type of API response. Example: "INTERNAL_TRANSFER_ACK" |
result.api.reference | String Reference ID of the original transaction |
result.api.dateTime | String (DateTime) Date and time of the API response in YYYY-MM-DD HH:MM:SS format |
result.account.accountId | String Account ID of the account involved in the transaction |
result.account.balanceCents | Integer Current account balance in cents |
result.account.status | String Status of the account. Example: "ACTIVE" |
result.transactionNumber | String Unique identifier for the processed transaction |
result.transactionStatus | String Status of the transaction. Example: "COMPLETED" |
result.transactionAmountCents | Integer Transaction amount in cents |
result.originalRequestBase64 | String (Base64 Encoded) Original request payload in Base64 encoded format |
result.processId | String Internal processing ID assigned to the transaction |
header.reference | String Reference ID echoed from the original request |
header.apiKey | String API key used for authentication |
header.signature | String Cryptographic signature for securing the response |
{
"id": "1",
"result": {
"api": {
"type": "INTERNAL_TRANSFER_ACK",
"reference": "REF161132438",
"dateTime": "2025-05-13 09:50:07"
},
"account": {
"accountId": "200829782920526",
"balanceCents": 11800733,
"status": "ACTIVE"
},
"transactionNumber": "QA00000001572013",
"transactionStatus": "COMPLETED",
"transactionAmountCents": 200,
"originalRequestBase64": "eyJjaGFubmVsIjoiQVBJIiwidHJhbnNhY3Rpb25UeXBlIjoiSU5URVJOQUxfVFJBTlNGRVIiLCJwcm9kdWN0IjoiREVGQVVMVCIsInByb2dyYW0iOiJERUZBVUxUIiwidHJhbnNhY3Rpb25EYXRlVGltZSI6IjIwMjEtMDEtMTkgMDY6MjA6MzUiLCJyZWZlcmVuY2UiOiJSRUYxNjExMzI0MzgiLCJyZWFzb24iOiJTZXR0bGVtZW50IiwidHJhbnNhY3Rpb25BbW91bnQiOnsiYW1vdW50IjoiMjAwIiwiY3VycmVuY3kiOiJVU0QifSwiZGVidG9yQWNjb3VudCI6eyJpZGVudGlmaWNhdGlvbiI6IjIwMDgyOTc4MjkyMDUyNiIsImlkZW50aWZpY2F0aW9uVHlwZSI6IkFDQ09VTlRfTlVNQkVSIiwiaW5zdGl0dXRpb24iOnsibmFtZSI6IkNCVyBCQU5LIiwiaWRlbnRpZmljYXRpb24iOiIxMDExMTA4MDIiLCJpZGVudGlmaWNhdGlvblR5cGUiOiJBQkEifX0sImNyZWRpdG9yQWNjb3VudCI6eyJpZGVudGlmaWNhdGlvbiI6IjIwMDg0MjE2MTE4MDQ3OSIsImlkZW50aWZpY2F0aW9uVHlwZSI6IkFDQ09VTlRfTlVNQkVSIn19",
"processId": "PL25051301545009"
},
"header": {
"reference": "REF161132438",
"apiKey": "9b474eee0cc54fd6941093c7d12c67fb",
"signature": "MEYCIQC7EP6iBea+fhgXv6IHVrKPpAdZQhfxdN/96JerH/aBlgIhALGqb1yJiK5/OJU2Trc+N77prwO7aOVv9MpkZy58fmdA"
}
}