curl --request GET \
--url https://api.waycore.com/v1/transfers/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/transfers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/transfers/{id}', 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.waycore.com/v1/transfers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.waycore.com/v1/transfers/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.waycore.com/v1/transfers/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/transfers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"type": "internal",
"requestedAmount": {
"currency": "USD",
"type": "money",
"value": "1250.00"
},
"sourceAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination": {
"type": "account",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"transferType": "internal",
"clientReference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"executedAmount": {
"currency": "USD",
"type": "money",
"value": "1250.00"
},
"memo": "<string>",
"failureReason": {
"code": "insufficient_funds",
"message": "<string>"
}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Get Transfer
GET /v1/transfers/
Get a transfer for the authenticated organization.
curl --request GET \
--url https://api.waycore.com/v1/transfers/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.waycore.com/v1/transfers/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.waycore.com/v1/transfers/{id}', 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.waycore.com/v1/transfers/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.waycore.com/v1/transfers/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.waycore.com/v1/transfers/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.waycore.com/v1/transfers/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "queued",
"type": "internal",
"requestedAmount": {
"currency": "USD",
"type": "money",
"value": "1250.00"
},
"sourceAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"destination": {
"type": "account",
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"transferType": "internal",
"clientReference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"executedAmount": {
"currency": "USD",
"type": "money",
"value": "1250.00"
},
"memo": "<string>",
"failureReason": {
"code": "insufficient_funds",
"message": "<string>"
}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}{
"type": "<string>",
"message": "<string>",
"requestId": "<string>",
"details": {}
}Authorizations
Opaque API key passed as Authorization: Bearer <key>. Keys are organization-bound, environment-bound (live or test), scope-carrying, and expiring. Create and manage keys via the console.
Path Parameters
Stable transfer identifier.
Response
Successful Response
Stable transfer identifier.
Current transfer lifecycle status. pending_bank_approval means Waycore has initiated the bank flow and the integrator should direct its user to approve in the bank portal.
queued, executing, pending_bank_approval, completed, failed, returned, cancelled, unknown Transfer direction.
internal, external Amount requested by the caller.
Show child attributes
Show child attributes
{
"currency": "USD",
"type": "money",
"value": "1250.00"
}
Source connected account identifier.
Transfer destination.
- InternalAccountDestination
- MaskedExternalAccountDestination
Show child attributes
Show child attributes
Transfer rail used or requested.
internal, ach, wire, swift, fednow, rtp, sepa, local Integrator-supplied payment reference distinct from the idempotency key. Where supported by the bank, this is the reference sent with the payment.
When the transfer was created.
When the transfer last changed.
Actual amount sent once execution is known.
Show child attributes
Show child attributes
{
"currency": "USD",
"type": "money",
"value": "1250.00"
}
Integrator-visible memo.
Failure details when status is failed, returned, or cancelled.
Show child attributes
Show child attributes