Get a transaction
Returns a single transaction record. A record belonging to another association responds 404, identically to one that does not exist.
curl --request GET \
--url https://api.zeam.money/gw/v1/transactions/{transactionId} \
--header 'Authorization: Bearer <token>' \
--header 'x-zeam-auth: <api-key>'{
"transactionRecordId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"idempotencyKey": "<string>",
"type": "<string>",
"failureReason": "<string>",
"errorCode": "<string>",
"sendAmount": 123,
"originalSendAmount": 123,
"sendCurrency": "<string>",
"receiveAmount": 123,
"receiveCurrency": "<string>",
"fee": 123,
"feeCurrency": "<string>",
"exchangeRate": 123,
"sendingAsset": "<string>",
"walletPublicKey": "<string>",
"isP2pTransfer": true,
"destinationStellarAddress": "<string>",
"beneficiaryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"beneficiaryFirstName": "<string>",
"beneficiaryLastName": "<string>",
"connectorId": "<string>",
"connectorName": "<string>",
"method": "<string>",
"destinationCountryIso": "<string>",
"quoteId": "<string>",
"stellarTxHash": "<string>",
"externalReference": "<string>",
"intentId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"legs": [
{
"legIndex": 123,
"walletPublicKey": "<string>",
"destinationStellarAddress": "<string>",
"sendingAsset": "<string>",
"amount": 123
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}Authorizations
Access token issued by POST /v1/auth/token.
Application secret (the apiKey issued at registration), required on every request.
Path Parameters
Transaction record identifier.
Response
The transaction record.
A transaction record. sendAmount/sendCurrency are the settlement-side
figures (off-ramps may restate them in the connector settlement
currency); originalSendAmount is the amount actually debited,
denominated in sendingAsset.
Lifecycle status, e.g. initiated, completed, failed, refund_completed.
Transaction type, e.g. p2p, swap, offramp.
Set once the transaction is on-chain.
Set on terminal success.
Present only on records created by POST /v1/payments/p2p/own/multi, in submitted order. For those, sendAmount is the gross sum of all legs; reconcile per wallet from the legs.
Show child attributes
Show child attributes
curl --request GET \
--url https://api.zeam.money/gw/v1/transactions/{transactionId} \
--header 'Authorization: Bearer <token>' \
--header 'x-zeam-auth: <api-key>'{
"transactionRecordId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"idempotencyKey": "<string>",
"type": "<string>",
"failureReason": "<string>",
"errorCode": "<string>",
"sendAmount": 123,
"originalSendAmount": 123,
"sendCurrency": "<string>",
"receiveAmount": 123,
"receiveCurrency": "<string>",
"fee": 123,
"feeCurrency": "<string>",
"exchangeRate": 123,
"sendingAsset": "<string>",
"walletPublicKey": "<string>",
"isP2pTransfer": true,
"destinationStellarAddress": "<string>",
"beneficiaryId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"beneficiaryFirstName": "<string>",
"beneficiaryLastName": "<string>",
"connectorId": "<string>",
"connectorName": "<string>",
"method": "<string>",
"destinationCountryIso": "<string>",
"quoteId": "<string>",
"stellarTxHash": "<string>",
"externalReference": "<string>",
"intentId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z",
"legs": [
{
"legIndex": 123,
"walletPublicKey": "<string>",
"destinationStellarAddress": "<string>",
"sendingAsset": "<string>",
"amount": 123
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}{
"type": "https://errors.zeam.app/validation-error",
"title": "Validation Error",
"status": 422,
"detail": "The 'amount' field must be a positive decimal.",
"instance": "/v1/quotes",
"requestId": "01J8Z6K3QW9F2",
"errors": [
{
"field": "<string>",
"message": "<string>"
}
]
}