Skip to main content
GET
/
miles
/
transfer
/
{id}
Get transfer details
curl --request GET \
  --url https://api.staging.rovemiles.com/functions/v1/miles/transfer/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

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'

Path Parameters

id
string
required

Transfer transaction ID

Response

Transfer details retrieved successfully

transaction_id
string<uuid>

Unique identifier for the transfer transaction

account_id
string<uuid>

Account ID of the recipient

amount
integer

Amount of miles transferred

created_at
string<date-time>

Timestamp when the transfer was created

status
string

Status of the transfer (success, pending, failed)

reference_id
string

Reference ID for the transfer (used for idempotency)