Skip to main content
Version: 2019-05-29 (Current)

Retrieve a transfer

Retrieve details of a specific transfer using its ID. Returns the transfer object including status, amount, recipient information, and timestamps.


Request Parametersโ€‹

Required - 1 fieldRequired Parameters
โ–ผ
`id`STRING(required)
Transfer ID (e.g., trsf_test_...). Provided in the URL path.
Example:"trsf_test_5xuy4w91xqz7d1w9u0t"

Responsesโ€‹

200

Successful transaction

Transfer retrieved successfully. Returns complete transfer object with all attributes.

Returned transfer attributes:
  • object - Always "transfer"
  • id - Transfer identifier (pattern: trsf_test_* or trsf_*)
  • livemode - Boolean indicating live (true) or test (false) mode
  • amount - Transfer amount in smallest currency unit
  • currency - Three-letter ISO 4217 currency code
  • fee - Omise transfer fee in smallest currency unit
  • total_fee - Fee plus VAT in smallest currency unit
  • net - Amount minus total_fee (actual amount recipient receives)
  • recipient - Recipient object or ID (expandable)
  • bank_account - Destination bank account details
  • sendable - Boolean indicating if transfer can be sent
  • sent - Boolean indicating if transfer has been sent
  • paid - Boolean indicating if transfer has been paid
  • fail_fast - Boolean indicating retry behavior on failure
  • failure_code - Error code if transfer failed
  • failure_message - Error message if transfer failed
  • metadata - Custom key-value pairs
  • created_at - ISO 8601 creation timestamp
  • sent_at - ISO 8601 timestamp when transfer was sent
  • paid_at - ISO 8601 timestamp when transfer was paid

401

Unauthorized

Authentication failed. Invalid or missing API key.

Common causes:
  • Missing Authorization header
  • Invalid secret key
  • Using public key instead of secret key
  • Incorrect HTTP Basic Auth format

404

Not found

Transfer not found.

Common causes:
  • Invalid transfer ID
  • Transfer does not belong to your account
  • Transfer has been deleted
  • Mixing test and live mode IDs

5xx

Server error

Server-side error occurred. These are rare but should be handled gracefully.

How to handle:

Code samplesโ€‹

curl https://api.omise.co/transfers/trsf_test_5xuy4w91xqz7d1w9u0t \
-u skey_test_5xuy4w91xqz7d1w9u0t:

๐Ÿ”‘API Credentials

Try it outโ€‹

Required - 1 fields
โ–ผ
Your IP: ...Loading...