Submit transaction
curl --request POST \
--url https://api-sandbox.endl.io/api/v0/pobo/transactions/submit \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"quoteId": "qut_xxxxxxxxxxxxxxxxxxxx",
"recipientId": "rec_xxxxxxxxxxxxxxxxxxxx",
"senderId": "snd_xxxxxxxxxxxxxxxxxxxx",
"depositId": "dep_xxxxxxxxxxxxxxxxxxxx",
"transferPurpose": "Family support",
"fundsSource": "Salary"
}
'import requests
url = "https://api-sandbox.endl.io/api/v0/pobo/transactions/submit"
payload = {
"quoteId": "qut_xxxxxxxxxxxxxxxxxxxx",
"recipientId": "rec_xxxxxxxxxxxxxxxxxxxx",
"senderId": "snd_xxxxxxxxxxxxxxxxxxxx",
"depositId": "dep_xxxxxxxxxxxxxxxxxxxx",
"transferPurpose": "Family support",
"fundsSource": "Salary"
}
headers = {
"API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
quoteId: 'qut_xxxxxxxxxxxxxxxxxxxx',
recipientId: 'rec_xxxxxxxxxxxxxxxxxxxx',
senderId: 'snd_xxxxxxxxxxxxxxxxxxxx',
depositId: 'dep_xxxxxxxxxxxxxxxxxxxx',
transferPurpose: 'Family support',
fundsSource: 'Salary'
})
};
fetch('https://api-sandbox.endl.io/api/v0/pobo/transactions/submit', 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-sandbox.endl.io/api/v0/pobo/transactions/submit",
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([
'quoteId' => 'qut_xxxxxxxxxxxxxxxxxxxx',
'recipientId' => 'rec_xxxxxxxxxxxxxxxxxxxx',
'senderId' => 'snd_xxxxxxxxxxxxxxxxxxxx',
'depositId' => 'dep_xxxxxxxxxxxxxxxxxxxx',
'transferPurpose' => 'Family support',
'fundsSource' => 'Salary'
]),
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"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://api-sandbox.endl.io/api/v0/pobo/transactions/submit"
payload := strings.NewReader("{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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-sandbox.endl.io/api/v0/pobo/transactions/submit")
.header("API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.endl.io/api/v0/pobo/transactions/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"status": "SUCCESS",
"data": {},
"errors": []
}{
"code": 400,
"message": "Rail not supported for POBO",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "VALIDATION_ERROR",
"message": "Rail not supported for POBO",
"field": null
}
]
}{
"data": null,
"code": 401,
"message": "Authentication Failed!",
"status": "Error",
"errors": [
{
"code": "401",
"message": "Authentication Failed!",
"field": "Authentication Failed!"
}
]
}{
"data": null,
"code": 403,
"message": "API key does not have 'pobo' permission",
"status": "Error",
"errors": [
{
"code": "403",
"message": "API key does not have 'pobo' permission",
"field": "API key does not have 'pobo' permission"
}
]
}{
"code": 404,
"message": "Resource not found",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "NOT_FOUND",
"message": "Resource not found",
"field": null
}
]
}{
"code": 409,
"message": "A sender with this governmentId already exists for this partner",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "CONFLICT",
"message": "A sender with this governmentId already exists for this partner",
"field": null
}
]
}{
"data": null,
"code": 429,
"message": "Rate limit exceeded, please retry later",
"status": "Error",
"errors": [
{
"code": "429",
"message": "Rate limit exceeded, please retry later",
"field": "Rate limit exceeded, please retry later"
}
]
}{
"code": 500,
"message": "Unexpected error",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "INTERNAL_ERROR",
"message": "Unexpected error",
"field": null
}
]
}{
"data": null,
"code": 502,
"message": "Upstream service error",
"status": "Error",
"errors": null
}Submit the transfer for processing. The row is marked alias=POBO.
senderId is mandatory. depositId, accountId and invoiceFileIdList are optional reference ids (dep_, acct_, file_) where they apply.
POST
/
api
/
v0
/
pobo
/
transactions
/
submit
Submit transaction
curl --request POST \
--url https://api-sandbox.endl.io/api/v0/pobo/transactions/submit \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"quoteId": "qut_xxxxxxxxxxxxxxxxxxxx",
"recipientId": "rec_xxxxxxxxxxxxxxxxxxxx",
"senderId": "snd_xxxxxxxxxxxxxxxxxxxx",
"depositId": "dep_xxxxxxxxxxxxxxxxxxxx",
"transferPurpose": "Family support",
"fundsSource": "Salary"
}
'import requests
url = "https://api-sandbox.endl.io/api/v0/pobo/transactions/submit"
payload = {
"quoteId": "qut_xxxxxxxxxxxxxxxxxxxx",
"recipientId": "rec_xxxxxxxxxxxxxxxxxxxx",
"senderId": "snd_xxxxxxxxxxxxxxxxxxxx",
"depositId": "dep_xxxxxxxxxxxxxxxxxxxx",
"transferPurpose": "Family support",
"fundsSource": "Salary"
}
headers = {
"API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
quoteId: 'qut_xxxxxxxxxxxxxxxxxxxx',
recipientId: 'rec_xxxxxxxxxxxxxxxxxxxx',
senderId: 'snd_xxxxxxxxxxxxxxxxxxxx',
depositId: 'dep_xxxxxxxxxxxxxxxxxxxx',
transferPurpose: 'Family support',
fundsSource: 'Salary'
})
};
fetch('https://api-sandbox.endl.io/api/v0/pobo/transactions/submit', 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-sandbox.endl.io/api/v0/pobo/transactions/submit",
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([
'quoteId' => 'qut_xxxxxxxxxxxxxxxxxxxx',
'recipientId' => 'rec_xxxxxxxxxxxxxxxxxxxx',
'senderId' => 'snd_xxxxxxxxxxxxxxxxxxxx',
'depositId' => 'dep_xxxxxxxxxxxxxxxxxxxx',
'transferPurpose' => 'Family support',
'fundsSource' => 'Salary'
]),
CURLOPT_HTTPHEADER => [
"API-KEY: <api-key>",
"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://api-sandbox.endl.io/api/v0/pobo/transactions/submit"
payload := strings.NewReader("{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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-sandbox.endl.io/api/v0/pobo/transactions/submit")
.header("API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.endl.io/api/v0/pobo/transactions/submit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quoteId\": \"qut_xxxxxxxxxxxxxxxxxxxx\",\n \"recipientId\": \"rec_xxxxxxxxxxxxxxxxxxxx\",\n \"senderId\": \"snd_xxxxxxxxxxxxxxxxxxxx\",\n \"depositId\": \"dep_xxxxxxxxxxxxxxxxxxxx\",\n \"transferPurpose\": \"Family support\",\n \"fundsSource\": \"Salary\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"message": "Success",
"status": "SUCCESS",
"data": {},
"errors": []
}{
"code": 400,
"message": "Rail not supported for POBO",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "VALIDATION_ERROR",
"message": "Rail not supported for POBO",
"field": null
}
]
}{
"data": null,
"code": 401,
"message": "Authentication Failed!",
"status": "Error",
"errors": [
{
"code": "401",
"message": "Authentication Failed!",
"field": "Authentication Failed!"
}
]
}{
"data": null,
"code": 403,
"message": "API key does not have 'pobo' permission",
"status": "Error",
"errors": [
{
"code": "403",
"message": "API key does not have 'pobo' permission",
"field": "API key does not have 'pobo' permission"
}
]
}{
"code": 404,
"message": "Resource not found",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "NOT_FOUND",
"message": "Resource not found",
"field": null
}
]
}{
"code": 409,
"message": "A sender with this governmentId already exists for this partner",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "CONFLICT",
"message": "A sender with this governmentId already exists for this partner",
"field": null
}
]
}{
"data": null,
"code": 429,
"message": "Rate limit exceeded, please retry later",
"status": "Error",
"errors": [
{
"code": "429",
"message": "Rate limit exceeded, please retry later",
"field": "Rate limit exceeded, please retry later"
}
]
}{
"code": 500,
"message": "Unexpected error",
"status": "ERROR",
"data": null,
"errors": [
{
"code": "INTERNAL_ERROR",
"message": "Unexpected error",
"field": null
}
]
}{
"data": null,
"code": 502,
"message": "Upstream service error",
"status": "Error",
"errors": null
}Authorizations
Your partner API key. Must carry the pobo permission.
Body
application/json
The quote being submitted — qut_….
Who is being paid — rec_….
Mandatory. The originator — snd_….
Optional deposit reference — dep_….
Optional account reference — acct_….
Optional invoice file references — file_….
Free-text purpose of the transfer.
Where the funds came from — Salary.
Response
The submitted transaction.