curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/agents/me/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'{
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000004",
"status": "CREATED",
"type": "INCOMING",
"destination": {
"destinationType": "ACCOUNT",
"accountId": "ExternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"currency": "EUR"
},
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCustomerId": "18d3e5f7b4a9c2",
"receivedAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"settledAt": "2025-08-15T14:30:00Z",
"createdAt": "2025-08-15T14:25:18Z",
"updatedAt": "2025-08-15T14:30:00Z",
"agentId": "Agent:019542f5-b3e7-1d02-0000-000000000042",
"description": "Payment for invoice #1234",
"counterpartyInformation": {
"FULL_NAME": "John Sender",
"BIRTH_DATE": "1985-06-15",
"NATIONALITY": "DE"
},
"source": {
"sourceType": "ACCOUNT",
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"currency": "USD"
},
"reconciliationInstructions": {
"reference": "UMA-Q12345-REF"
},
"rateDetails": {
"gridApiMultiplier": 0.925,
"gridApiFixedFee": 10,
"gridApiVariableFeeRate": 0.003,
"gridApiVariableFeeAmount": 30
},
"failureReason": "LNURLP_FAILED"
}Retrieve a specific transaction belonging to the authenticated agent’s customer. Returns 404 if the transaction exists but belongs to a different customer.
curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/agents/me/transactions/{transactionId} \
--header 'Authorization: Bearer <token>'{
"id": "Transaction:019542f5-b3e7-1d02-0000-000000000004",
"status": "CREATED",
"type": "INCOMING",
"destination": {
"destinationType": "ACCOUNT",
"accountId": "ExternalAccount:a12dcbd6-dced-4ec4-b756-3c3a9ea3d123",
"currency": "EUR"
},
"customerId": "Customer:019542f5-b3e7-1d02-0000-000000000001",
"platformCustomerId": "18d3e5f7b4a9c2",
"receivedAmount": {
"amount": 12550,
"currency": {
"code": "USD",
"name": "United States Dollar",
"symbol": "$",
"decimals": 2
}
},
"settledAt": "2025-08-15T14:30:00Z",
"createdAt": "2025-08-15T14:25:18Z",
"updatedAt": "2025-08-15T14:30:00Z",
"agentId": "Agent:019542f5-b3e7-1d02-0000-000000000042",
"description": "Payment for invoice #1234",
"counterpartyInformation": {
"FULL_NAME": "John Sender",
"BIRTH_DATE": "1985-06-15",
"NATIONALITY": "DE"
},
"source": {
"sourceType": "ACCOUNT",
"accountId": "InternalAccount:e85dcbd6-dced-4ec4-b756-3c3a9ea3d965",
"currency": "USD"
},
"reconciliationInstructions": {
"reference": "UMA-Q12345-REF"
},
"rateDetails": {
"gridApiMultiplier": 0.925,
"gridApiFixedFee": 10,
"gridApiVariableFeeRate": 0.003,
"gridApiVariableFeeAmount": 30
},
"failureReason": "LNURLP_FAILED"
}Documentation Index
Fetch the complete documentation index at: https://ramps-docs-agents-webhook-and-account-model-links.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/{code}/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.
Unique identifier of the transaction
Successful operation
Unique identifier for the transaction
"Transaction:019542f5-b3e7-1d02-0000-000000000004"
Status of a payment transaction.
| Status | Description |
|---|---|
CREATED | Initial lookup has been created |
PENDING | Quote has been created |
PROCESSING | Funding has been received and payment initiated |
COMPLETED | Cross border payment has been received, converted and payment has been sent to the offramp network |
REJECTED | Receiving institution or wallet rejected payment, payment has been refunded |
FAILED | An error occurred during payment |
REFUNDED | Payment was unable to complete and refunded |
EXPIRED | Quote has expired |
CREATED, PENDING, PROCESSING, COMPLETED, REJECTED, FAILED, REFUNDED, EXPIRED Type of transaction (incoming payment or outgoing payment)
INCOMING Destination account details
Show child attributes
System ID of the customer (sender for outgoing, recipient for incoming)
"Customer:019542f5-b3e7-1d02-0000-000000000001"
Platform-specific ID of the customer (sender for outgoing, recipient for incoming)
"18d3e5f7b4a9c2"
Amount received in the recipient's currency
Show child attributes
When the payment was or will be settled
"2025-08-15T14:30:00Z"
When the transaction was created
"2025-08-15T14:25:18Z"
When the transaction was last updated
"2025-08-15T14:30:00Z"
If this transaction was initiated by an agent, the system-generated ID of that agent. Absent for platform-initiated transactions.
"Agent:019542f5-b3e7-1d02-0000-000000000042"
Optional memo or description for the payment
"Payment for invoice #1234"
Additional information about the counterparty, if available and relevant to the transaction and platform.
{
"FULL_NAME": "John Sender",
"BIRTH_DATE": "1985-06-15",
"NATIONALITY": "DE"
}Source account details
Show child attributes
Included for all transactions except those with "CREATED" status
Show child attributes
Details about the rate and fees for the transaction.
Show child attributes
If the transaction failed, this field provides the reason for failure.
LNURLP_FAILED, PAY_REQUEST_FAILED, PAYMENT_APPROVAL_WEBHOOK_ERROR, PAYMENT_APPROVAL_TIMED_OUT, OFFRAMP_FAILED, MISSING_MANDATORY_PAYEE_DATA, QUOTE_EXPIRED, QUOTE_EXECUTION_FAILED Was this page helpful?