Skip to main content
GET
/
api
/
v1
/
transactions
/
{transactionId}
/
receipt
Get receipt by transaction ID
curl --request GET \
  --url https://api.digitalreceiptprotocol.org/api/v1/transactions/{transactionId}/receipt
{
  "success": true,
  "data": {
    "version": "1.0",
    "receiptId": "550e8400-e29b-41d4-a716-446655440003",
    "keyId": "550e8400-e29b-41d4-a716-446655440000",
    "keyBundle": {
      "encryptedAesKey": "encrypted_aes_key_base64...",
      "keyId": "550e8400-e29b-41d4-a716-446655440000",
      "algorithm": "RSA-OAEP-256"
    },
    "ciphertext": "encrypted_receipt_ciphertext_base64...",
    "iv": "initialization_vector_base64...",
    "authTag": "auth_tag_base64...",
    "merchantId": "550e8400-e29b-41d4-a716-446655440004",
    "transactionId": "550e8400-e29b-41d4-a716-446655440005",
    "createdAt": "2025-12-15T12:35:00Z",
    "expiresAt": "2025-12-16T12:35:00Z",
    "isEscrowed": false,
    "escrowKeyId": null
  }
}

Path Parameters

transactionId
string<uuid>
required

UUID of the transaction

Response

Receipt retrieved successfully

success
boolean
Example:

true

data
object