Get transaction
Retrieve the details of a transaction by its unique identifier. This endpoint returns comprehensive information about a specific transaction including payment details, buyer information, and transaction status.
transactions.read
scope.Authorizations
Bearer authentication header of the form `Bearer <token>`, where `<token>` is your auth token.
Headers
The ID of the merchant account to use for this request.
""default""
Path Parameters
The unique identifier of the transaction to retrieve.
"7099948d-7286-47e4-aad8-b68f7eb44591"
Response
Successful Response
Resource type.
"transaction"
Unique transaction identifier.
"7099948d-7286-47e4-aad8-b68f7eb44591"
Merchant account ID.
"default"
ISO 4217 three-letter currency code.
"EUR"
"USD"
Transaction amount in the smallest currency unit.
"1299"
Current status of the transaction.
"authorization_succeeded"
"capture_succeeded"
"authorization_failed"
"capture_failed"
Transaction country (ISO 3166-1 alpha-2).
"US"
External transaction identifier.
"transaction-12345"
The payment method used for this transaction.
The method used for the transaction.
"card"
Error code (if any).
"null"
"missing_redirect_url"
The buyer information.
The billing details for the transaction.
The shipping details.
Cart items.
3D Secure authentication object.
Custom metadata object.
Creation time (ISO 8601).
"2013-07-16T19:23:00.000+00:00"
curl --request GET \--url https://api.efundpay.com/v4/transactions/7099948d-7286-47e4-aad8-b68f7eb44591 \--header 'Authorization: Bearer <token>' \--header 'x-merchant-account-id: <x-merchant-account-id>'
{"type": "transaction","id": "7099948d-7286-47e4-aad8-b68f7eb44591","merchant_account_id": "default","currency": "EUR","amount": 1299,"status": "authorization_succeeded","country": "US","external_identifier": "transaction-12345","payment_method": {"payment_url_link": "https://www.efundpay.com/redirect/12345","payment_app_link": "app://pay/abc123","url_link_expire_sec": "300","payment_qr_code": "weixin://wxpay/bizpayurl?pr=abc1233","payment_qr_code_expire_sec": "300","country": "US","details": {"bin": "411111","card_type": "credit","card_issuer_name": "Test Bank"},"expiration_date": "12/30","method": "card","scheme": "visa"},"method": "card","instrument_type": "pan","error_code": null,"payment_service": {"type": "payment-service","id": "824ff064-7f4b-430b-9801-59aff90d013e","payment_service_definition_id": "stripe-card","method": "card","display_name": "Stripe USA"},"pending_review": false,"buyer": {"type": "buyer","id": "fe26475d-ec3e-4884-9553-f7356683f7f9","display_name": "John Doe","external_identifier": "buyer-12345","billing_details": {"first_name": "John","last_name": "Doe","email_address": "john@example.com","phone_number": "+1234567890","address": {"city": "San Jose","country": "US","postal_code": "94560","state": "California","state_code": "US-CA","house_number_or_name": "10","line1": "Stafford Appartments","line2": "29th Street","organization": "EFundFlow"},"tax_id": {"value": "12345678931","kind": "us.ein"}},"account_number": "123456789"},"raw_response_code": "00","raw_response_description": "Success","shipping_details": {"first_name": "John","last_name": "Doe","email_address": "john@example.com","phone_number": "+1234567890","address": {"city": "San Jose","country": "US","postal_code": "94560","state": "California","state_code": "US-CA","house_number_or_name": "10","line1": "Stafford Appartments","line2": "29th Street","organization": "EFundFlow"},"id": "bf8c36ad-02d9-4904-b0f9-a230b149e341","buyer_id": "fe26475d-ec3e-4884-9553-f7356683f7f9","type": "shipping-details"},"checkout_session_id": "4137b1cf-39ac-42a8-bad6-1c680d5dab6b","auth_response_code": "00","avs_response_code": "match","cvv_response_code": "match","anti_fraud_decision": "accept","payment_source": "ecommerce","merchant_initiated": false,"is_subsequent_payment": false,"three_d_secure": {"version": "2.2.0","status": "complete","method": "challenge","response_data": {"cavv": "3q2+78r+ur7erb7vyv66vv8=","eci": "05","version": "2.1.0","directory_response": "C","scheme": "visa","authentication_response": "Y","cavv_algorithm": "A","xid": "12345"}},"payment_service_transaction_id": "tx-12345","additional_identifiers": {"payment_service_authorization_id": "auth-12345","payment_service_capture_id": "capture-12345"},"metadata": {"cohort": "cohort-12345","order": "order-12345"},"created_at": "2013-07-16T19:23:00.000+00:00","updated_at": "2013-07-16T19:23:00.000+00:00","authorized_at": "2013-07-16T19:23:00.000+00:00","captured_at": "2013-07-16T19:23:00.000+00:00"}