Get Transfer History
GET https://api.sfox.com/v1/enterprise/transfer/history
This endpoint returns a partner's transfer history. Partners have the ability to filter by type, purpose, status, and time period.
Responses are limited to 25,000 entries per request. If a time period is not specified, it will return entries from the last 3 months.
Body Parameters
type
string
Filters the response by that user i.e. ClientAccount1
purpose
string
Filters the response by that purpose
GOODSERVICE
status
string
Transfer status
CANCELEDPENDINGCOMPLETE
to_date
string
End date of the query in UNIX timestamp to milliseconds
from_date
string
Start date of the query in UNIX timestamp to milliseconds
Responses
200 OK
{
"data": [
{
"transfer_id": "bbe9e100-490f-11ee-9915-0e5724aafd6b",
"transfer_status_code": "COMPLETE",
"type": "PAYMENT",
"quantity": 100,
"currency": "usd",
"user_id": "ClientAccount1",
"rate": 1,
"purpose": "GOOD",
"description": "Gift card payment",
"atx_id_charged": 1732450,
"atx_id_credited": 1732451,
"atx_status_charged": "1200",
"atx_status_credited": "1200",
"transfer_date": "2023-09-01T21:40:25.000Z"
},
{
"transfer_id": "4c3aebf4-490f-11ee-9915-0e5724aafd6b",
"transfer_status_code": "COMPLETE",
"type": "PAYMENT",
"quantity": 0.2,
"currency": "eth",
"user_id": "client_ind_quinn_49",
"rate": 2000,
"purpose": "GOOD",
"description": "Gift card payment",
"atx_id_charged": 1732440,
"atx_id_credited": 1732441,
"atx_status_charged": "1200",
"atx_status_credited": "1200",
"transfer_date": "2023-09-01T21:35:04.000Z"
}
]
}422 Unprocessable Content
{
"error": "status must be one of the following: INITIATED, PENDING, COMPLETE"
}{
"error": "purpose must be one of the following: GOOD, SERVICE"
}{
"error": "type must be one of the following: PAYMENT, PAYOUT"
}{
"error": "to_date must be a valid unix timestamp in milliseconds"
}Response Body
transfer_id
Partner generated transfer and idempotency ID
transfer_status_code
Status of the transfer
type
Transfer type
quantity
Transfer quantity
currency
Trasfer currency
user_id
The Connect user ID this transfer will apply to
rate
USD FX Rate of the transfer
purpose
Transfer purpose
description
Partner generated description text
atx_id_charged
ID of the charge account transaction
atx_id_credited
ID of the credit account transaction
atx_status_charged
Status of the charge account transaction
atx_status_credited
Status of the credit account transaction
transfer_date
Transfer Date
Example Requests
Last updated