Get destination requirements
curl --request GET \
--url https://api.talescria.com/v1/destination-requirements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.talescria.com/v1/destination-requirements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talescria.com/v1/destination-requirements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"corridors": [
{
"method": "bank_transfer",
"currency": "<string>",
"schemes": [
"ach",
"wire",
"rtp"
],
"fields": [
{
"key": "sort_code",
"label": "Sort code",
"required": true,
"pattern": "^\\d{2}-?\\d{2}-?\\d{2}$",
"example": "<string>"
}
],
"country": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Recipients
Get destination requirements
The fields a destination needs. With no method and currency, lists every supported corridor. With both, returns that corridor’s fields and schemes.
pattern on a field is a hint for client-side validation. The payment network is the final validator, so don’t make your own checks stricter than the pattern.
Requires the recipients:read scope.
GET
/
v1
/
destination-requirements
Get destination requirements
curl --request GET \
--url https://api.talescria.com/v1/destination-requirements \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.talescria.com/v1/destination-requirements"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.talescria.com/v1/destination-requirements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"corridors": [
{
"method": "bank_transfer",
"currency": "<string>",
"schemes": [
"ach",
"wire",
"rtp"
],
"fields": [
{
"key": "sort_code",
"label": "Sort code",
"required": true,
"pattern": "^\\d{2}-?\\d{2}-?\\d{2}$",
"example": "<string>"
}
],
"country": "<string>"
}
]
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}