Skip to main content
GET
/
miles
/
transfer
/
list
List transfer history
curl --request GET \
  --url https://api.staging.rovemiles.com/functions/v1/miles/transfer/list \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "transaction_id": "6f2ea869-df09-438e-8264-77f4c0aa4251",
      "account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "amount": 25000,
      "created_at": "2023-09-15T14:22:31Z",
      "status": "success",
      "reference_id": "ref_airline_123456"
    },
    {
      "transaction_id": "8a084d3b-3e6d-47b4-b7d3-b753e0645ba1",
      "account_id": "b2c3d4e5-f6g7-8901-abcd-ef2345678901",
      "amount": 10000,
      "created_at": "2023-09-12T09:44:17Z",
      "status": "success",
      "reference_id": "ref_cc_789012"
    },
    {
      "transaction_id": "81c7661a-b45a-4a85-bef9-6df02c67eb7e",
      "account_id": "c3d4e5f6-g7h8-9012-abcd-ef3456789012",
      "amount": 5000,
      "created_at": "2023-09-08T16:30:45Z",
      "status": "success",
      "reference_id": "ref_promo_345678"
    }
  ],
  "pagination": {
    "total": 3,
    "limit": 10,
    "offset": 0,
    "hasMore": false
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Add your API key to the Authorization header with this format: 'Bearer your_api_key_here'

Query Parameters

limit
integer
default:20

Max items to return

offset
integer
default:0

Pagination offset

reference_id
string

Filter transfers by reference ID

Response

Transfer history retrieved successfully

data
object[]
pagination
object