Refresh the client's ledger from its sources
curl --request POST \
--url https://api.example.com/transactions/sync \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/transactions/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/transactions/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"syncedAt": "2023-11-07T05:31:56Z",
"written": 123
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Transactions
Refresh the client's ledger from its sources
Refresh the client’s ledger from the payment networks and chains its money moved over and return how many entries changed. List and read routes do not refresh the ledger. Call this before listing when a transfer made outside the integration must be visible. The route is rate-limited.
POST
/
transactions
/
sync
Refresh the client's ledger from its sources
curl --request POST \
--url https://api.example.com/transactions/sync \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/transactions/sync"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/transactions/sync', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"syncedAt": "2023-11-07T05:31:56Z",
"written": 123
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"details": {}
}
}Authorizations
Headers
Was this page helpful?