1. Redemption-transaction
Returning.AI
  • Getting Started
  • Users
    • User directory and provisioning
    • Get Users with Filters
      POST
    • Create New User
      POST
    • Get User Data
      POST
    • Manage User Account
      POST
    • Get User Milestones
      POST
    • Update User Data, Identifier, And Roles
      POST
    • Update User XP and Currency
      POST
  • Messaging
    • Agent messaging workflow
    • Get Messages
      GET
    • Send Message
      POST
    • Reply Message
      POST
    • React Message
      POST
    • Upload message images
      POST
  • Gamification
    • Leaderboards
      • Leaderboards
      • List leaderboards with pagination
      • Create a new leaderboard
      • Update an existing leaderboard
      • Get a single leaderboard by ID
      • Delete a leaderboard
    • Streaks & Mini Games
      • Mini-game State and History
      • List user streak logs
      • List mini-game logs by user email
      • Get current mini-game and streak state
      • Update user spin-wheel information
    • Referral
      • Referral Program Integration
      • Get referral programs
      • Get user's referral summary
    • Rolling Data
      • Get Daily Calculation Data
      • Get Rolling Calculation Data
    • Match Predictions
    • Get tier configuration
      GET
    • Get daily user XP and coin changes
      POST
    • Search user gamification logs
      POST
    • Get user activity stats
      POST
  • Rewards & Redemptions
    • Store catalog to redemptions
    • Update redemption order status or refund
    • List redemption orders by user email
    • List redemption statuses
    • Get redemption status by ID
    • List redemption orders by community
    • Create redemption order status
    • Get redemption order status history
  • Chart Analysis
    • Create Analysis
    • Get Analysis
    • Update Analysis
    • Delete Analysis
    • List Analyses
    • Append Drawings
  • Bulk Operations
    • Bulk user updates
    • List bulk update jobs
    • Get bulk update job status
    • Get bulk update job details
    • Bulk update users from CSV
    • Bulk update premium currency from CSV
  • Channels
    • Iframe
    • List integration channels
  • Events
    • Outgoing webhooks
      • Encryption
      • User Joins Server
      • User Visits server
      • New Message Posted Anywhere
      • New Message Posted To channel
      • Purchased Store Item
    • Incoming webhooks
      • API Keys & Encryption
      • Send message into channels
      • Update Custom User Fields
      • Update In-game currency
  • Widgets
    • Authenticated Widgets
    • Public widgets
    • Channels
    • Leaderboard
    • Milestone
    • Socials
    • Store
  • Community Analytics
    • Get Loyalty Overview
    • Get Phone Verification Contacts
  • Store
    • Store catalog
    • Purchase History
      • Update redemption instructions or voucher details
    • Categories
      • List Store categories
      • Create Store category
      • Get Store category by ID
      • Update Store category
      • Delete Store category
    • Products
      • List products
      • Update products in bulk
      • Create products in bulk
      • Create product with vouchers
      • Read product
      • Update product and append vouchers
      • Delete product
    • Redemption-transaction
      • Get redemption transaction detail
        GET
    • Get Store configuration
      GET
    • Update Store configuration
      PUT
  • Community
    • Appearance
      • Update community theme colors
      • Update community bot profile
      • Update community URL metadata
      • Update community name and URL
    • Community Users
      • Get community users
      • Get user
    • Create community
  • API Keys
    • API key lifecycle
    • Community API Keys
      • Create API key
      • Read API keys
      • Delete API key
      • Update API key
    • User API Keys
      • List user API keys
      • Create user API key
      • Update user API key
      • Delete user API key
      • Get current API key information
  • User Fields
    • User field definitions and history
    • User Field History
      • Get all user field histories in a community
      • Get user field histories for a specific field
      • Get user field histories for a specific user
      • Get user field histories of specific user field and user
      • Update A User Field Value
      • Deprecated Field-First History Write
      • Deprecated Field-First History Read
    • Get A User Field Definition
    • Update A User Field Definition
    • Create A User Field Definition
    • Delete A User Field Definition
    • List User Field Definitions
  • Legacy
    • Servers
      • Create server
      • List servers
      • Update server metadata
    • Bulk Operations
      • Bulk import users from CSV
    • Authentication
      • Secure Auth
      • Register user with password
      • Verify user email
      • Log in user with password
    • Badges
      • List badges
      • Create badge
      • Update badge
      • Delete badge
      • Remove badge from user
      • Award badge to user
    • Messaging
    • Roles & Permissions
      • List server roles
      • Create role
      • Update role
      • Delete role
      • List user roles
      • Add role to user
      • Remove role from user
    • Users
      • Get user
      • Upload user avatar
    • Channels
      • Create channel
      • Update channel
      • Delete channel
    • API Keys
      • List integration API keys
      • Create integration API key
      • Delete integration API key
      • Update integration API key
  • Schemas
    • Sample Schemas
    • Schemas
    • Outgoing webhooks
    • Analysis
    • Pet
    • Category
    • Tag
    • ValidationError
    • NotFoundError
    • InternalServerError
    • NotImplementedError
    • CreateUserFieldHistoryResponse
    • CreateUserFieldHistorySuccessResponse
    • UserFieldHistoryItem
    • GetUserFieldHistoriesResponse
    • UserFieldHistoriesValidationError
    • UserFieldHistoriesMetaWithValidation
    • UserFieldHistoriesMetaWithPagination
    • GetUserFieldHistoriesSuccessResponse
    • CreateUserFieldResponse
    • CreateUserFieldSuccessResponse
    • DeleteUserFieldResponse
    • DeleteUserFieldSuccessResponse
    • UserFieldCreator
    • GetUserFieldResponse
    • GetUserFieldSuccessResponse
    • ValidationErrorItem
    • GetUserFieldsMetaResponse
    • CreatorInfo
    • UserFieldResponse
    • GetUserFieldsSuccessResponse
    • UpdateUserFieldResponse
    • UpdateUserFieldPayload
    • UpdateUserFieldSuccessResponse
    • MetaResponse
    • GetUserResponse
    • GetUserSuccessResponse
    • Purchased store item
    • ErrorResponse
    • New message posted to channel
    • UpdateAnalysisRequest
    • User visits server
    • AppendDrawingsRequest
    • User join server
    • CreateAnalysisResponse
    • GetAnalysisResponse
    • UpdateAnalysisResponse
    • AppendDrawingsResponse
    • AnalysisMetadata
    • Expiry
    • Levels
    • LevelEntry
    • Drawing
    • HorizontalLineDrawing
    • LineDrawing
    • RectangleDrawing
    • ParallelDrawing
    • FibonacciRetracementDrawing
    • Coordinate
    • DrawingStyle
    • AnalysisDetail
    • AnalysisSummary
    • CreateAnalysisRequest
    • ListAnalysesResponse
    • StandardApiError
    • StandardSuccessEnvelope
    • PurchasedStoreItemEvent
    • ChannelMessagePostedEvent
    • UserVisitedCommunityEvent
    • UserJoinedCommunityEvent
  1. Redemption-transaction

Get redemption transaction detail

Developing
GET
/v2/redemption-transactions/{redemptionID}

What this endpoint does#

Read one redemption order, its fulfillment data, current status, and refund state.
INFO
Workflow
Redemption ID → current order → history or status update

Quick start#

Use the environment selected by Try it. The example values are synthetic.

Authentication and permission#

SendPermissionCommunity scope
Authorization: Bearer <apiKey>customerSuccessCommunity scope is derived from the key; do not send a community identifier.

Complete examples#

No JSON body is sent. Replace each {pathParameter} and use the query parameters documented below.

Success and readback#

Branch on: meta.code = REDEMPTION_TRANSACTION_RETRIEVED
{
  "meta": {
    "status": "success",
    "statusCode": 200,
    "code": "REDEMPTION_TRANSACTION_RETRIEVED"
  },
  "message": "Get redemption transaction detail successfully",
  "data": {
    "_id": "hist_agent_01",
    "redemptionId": "ORD202607220001",
    "productName": "Agent Test Voucher",
    "price": 100,
    "quantity": 1,
    "status": "New Purchase",
    "statusID": "sts_new",
    "type": "voucher",
    "userId": "usr_agent_01",
    "purchasedDate": "2026-07-22T02:00:00.000Z",
    "userData": {
      "email": "agent-test@example.invalid",
      "userName": "agent-test",
      "roles": [
        "@all"
      ]
    }
  }
}
CHECK
Readback
No additional readback is required for this read operation.

Errors and recovery#

Branch on meta.code, never message text.
HTTPMachine codeWhat the caller should doRetry?
400VALIDATION_FAILEDUse the public ORD identifier.No, fix first
401AUTH_API_KEY_REQUIREDAdd the Authorization header.No, fix first
401AUTH_API_KEY_INVALIDReplace or rotate the key.No, fix first
401AUTH_API_KEY_VALIDATION_FAILEDAuthentication could not be completed.Yes, with backoff
403AUTH_PERMISSION_REQUIREDRequest the customerSuccess permission; no resource data is returned.No, fix first
404REDEMPTION_TRANSACTION_NOT_FOUNDRefresh the scoped order list.After refreshing the ID
500INTERNAL_ERRORRetry with exponential backoff and the same request context, then escalate.Yes, with backoff
502REDEMPTION_DEPENDENCY_UNAVAILABLERetry with exponential backoff.Yes, with backoff

Retry safety#

TIP
Exact retry
Safe to retry. A 502 is transient; a 404 is not retried unchanged.

Gotchas#

Avoid this mistake

Next steps#

Read redemption status history
Read status history or update fulfillment/status.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Responses

🟢200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.returning.ai/v2/redemption-transactions/ORD2026123478212' \
--header 'Authorization: Bearer <token>'
Response Response Example
{
  "meta": {
    "status": "success",
    "statusCode": 200
  },
  "message": "Redemption transaction fetched successfully",
  "data": {
    "_id": "6a55e5cfdd7c2d5c10d2fjie912",
    "redemptionId": "ORD202671473127864411",
    "serverId": "69c69106d017b793c8ieijfxx",
    "userId": "6a55d64cac3a8ba04ufujx8",
    "rewardId": "6a2b82644b9c398129201234",
    "voucherId": "6a2b82ff11c9e386b9394i2v",
    "price": 500,
    "quantity": 1,
    "status": "Completed",
    "statusID": "6a2b762d11c9e386b19223fd",
    "type": "voucher",
    "userInfo": {
      "profile": "https://genesiv.com/img/user-avatar.png",
      "username": "egname",
      "name": "Example User",
      "firstName": "First",
      "lastName": "Last",
      "email": "example@gmail.com"
    },
    "redemptionMethodName": "Custom Instructions",
    "customFieldValues": {
      "Account Number": "B123456",
      "Acknowledgement": "Knowledge"
    },
    "purchasedDate": "2026-07-14T07:31:27.765Z",
    "createdAt": "2026-07-14T07:31:27.765Z",
    "updatedAt": "2026-07-14T08:07:03.381Z",
    "productName": "$25 Trading Credit",
    "userData": {
      "email": "example@gmail.com",
      "userName": "exampleuser",
      "roles": [
        "@all",
        "@all"
      ]
    }
  }
}
Modified at 2026-08-08 01:53:01
Previous
Delete product
Next
Get Store configuration
Built with