---
agentTools:
  projectIndex: https://chimoney.readme.io/llms.txt
---

# Get transaction details by issueID.

Retrieves all transactions associated with a specific issueID, including details such as transaction IDs, amounts, statuses, and metadata.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Chimoney API Docs",
    "version": "0.2.4",
    "description": "This is the latest version of the Chimoney API. For deprecated version routes, please refer to /v0.2/api-docs."
  },
  "security": [
    {
      "apiKeyAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://api.chimoney.io/",
      "description": "Prod Server"
    },
    {
      "url": "https://api-v2-sandbox.chimoney.io",
      "description": "Sandbox API v2 (v0.2.4)"
    }
  ],
  "paths": {
    "/v0.2.4/accounts/issue-id-transactions": {
      "post": {
        "summary": "Get transaction details by issueID.",
        "tags": [
          "Account"
        ],
        "parameters": [
          {
            "in": "query",
            "name": "issueID",
            "schema": {
              "type": "string"
            },
            "description": "IssueID of the transaction.",
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subAccount": {
                    "type": "string",
                    "description": "Subaccount if any."
                  }
                }
              },
              "example": {
                "subAccount": "1234567"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "Status of the request.",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "description": "Success message.",
                      "example": "Transaction found"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "account_number": {
                            "type": "string"
                          },
                          "issueID": {
                            "type": "string"
                          },
                          "fee": {
                            "type": "number"
                          },
                          "account_bank": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string",
                            "example": "bank"
                          },
                          "issuer": {
                            "type": "string"
                          },
                          "enabledToRedeem": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "example": [
                              "bank"
                            ]
                          },
                          "reference": {
                            "type": "string"
                          },
                          "quote": {
                            "type": "object",
                            "properties": {
                              "receiver": {
                                "type": "string"
                              },
                              "rate": {
                                "type": "number"
                              },
                              "sender": {
                                "type": "string"
                              },
                              "originCurrency": {
                                "type": "string",
                                "example": "USD"
                              },
                              "destinationCurrency": {
                                "type": "string",
                                "example": "NGN"
                              },
                              "expiresAtTimestamp": {
                                "type": "integer",
                                "example": 1721566800000
                              },
                              "originCurrencyDebitAmount": {
                                "type": "number"
                              },
                              "markups": {
                                "type": "object",
                                "example": {}
                              },
                              "expiresAt": {
                                "type": "string"
                              },
                              "destinationCurrencyCreditAmount": {
                                "type": "number"
                              }
                            }
                          },
                          "chiRef": {
                            "type": "string"
                          },
                          "issueDate": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "initiatedBy": {
                            "type": "string"
                          },
                          "redeemData": {
                            "type": "object",
                            "example": {}
                          },
                          "valueInUSD": {
                            "type": "number"
                          },
                          "chimoney": {
                            "type": "number"
                          },
                          "countryToSend": {
                            "type": "string",
                            "example": "Nigeria"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "personalizedMessage": {
                            "type": "string"
                          },
                          "branch_code": {
                            "type": "string"
                          },
                          "t_id": {
                            "type": "integer"
                          },
                          "collectionPaymentIssueID": {
                            "type": "string"
                          },
                          "narration": {
                            "type": "string"
                          },
                          "integration": {
                            "type": "object",
                            "properties": {
                              "reference": {
                                "type": "string"
                              },
                              "appID": {
                                "type": "string"
                              }
                            }
                          },
                          "fullname": {
                            "type": "string"
                          },
                          "paymentDate": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "redeemDate": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "meta": {
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "currency": {
                                "type": "string",
                                "example": "USD"
                              },
                              "payer": {
                                "type": "string"
                              }
                            }
                          },
                          "payout": {
                            "type": "object",
                            "properties": {
                              "account_number": {
                                "type": "string"
                              },
                              "bank_code": {
                                "type": "string"
                              },
                              "amount": {
                                "type": "number"
                              },
                              "created_at": {
                                "type": "string",
                                "format": "date-time"
                              },
                              "error": {
                                "type": "string",
                                "example": "None"
                              },
                              "reference": {
                                "type": "string"
                              },
                              "requires_approval": {
                                "type": "integer",
                                "example": 0
                              },
                              "full_name": {
                                "type": "string"
                              },
                              "meta": {
                                "type": "object",
                                "properties": {
                                  "payer": {
                                    "type": "string"
                                  }
                                }
                              },
                              "narration": {
                                "type": "string"
                              },
                              "bank_name": {
                                "type": "string"
                              },
                              "is_approved": {
                                "type": "integer",
                                "example": 1
                              },
                              "currency": {
                                "type": "string",
                                "example": "NGN"
                              },
                              "complete_message": {
                                "type": "string"
                              },
                              "id": {
                                "type": "integer"
                              },
                              "payoutLink": {
                                "type": "string",
                                "example": "http://localhost:4000/pay/?issueID=4cddf021"
                              },
                              "debit_currency": {
                                "type": "string",
                                "example": "NGN"
                              },
                              "status": {
                                "type": "string",
                                "example": "NEW"
                              }
                            }
                          },
                          "updatedDate": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "status": {
                            "type": "string"
                          },
                          "deliveryStatus": {
                            "type": "string",
                            "example": "pending"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ValidationError"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/TransactionNotFoundError"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "apiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    },
    "responses": {
      "Forbidden": {
        "description": "Access to this resource is forbidden.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Forbidden"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Access to this resource is not available for unauthenticated users.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          }
        }
      },
      "ServerError": {
        "description": "Indicates an internal server error.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ServerError"
            }
          }
        }
      },
      "ValidationError": {
        "description": "Validation error in the request.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ValidationError"
            }
          }
        }
      },
      "TransactionNotFoundError": {
        "description": "Error indicating that the transaction was not found.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/TransactionNotFoundError"
            }
          }
        }
      }
    },
    "schemas": {
      "Forbidden": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the response.",
            "example": "error"
          },
          "error": {
            "type": "string",
            "description": "Error message indicating forbidden access.",
            "example": "API Access not enabled for account Test. Email support@chimoney.io"
          }
        }
      },
      "Unauthorized": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the response.",
            "example": "error"
          },
          "error": {
            "type": "string",
            "description": "Error message indicating unauthorized access.",
            "example": "API key is not defined. Generate a new one from the developer portal."
          }
        }
      },
      "ServerError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the error.",
            "example": "error"
          },
          "type": {
            "type": "string",
            "description": "Type of server error.",
            "example": "server error"
          },
          "code": {
            "type": "string",
            "description": "Specific error code for server issues.",
            "example": "INTERNAL_SERVER_ERROR"
          },
          "message": {
            "type": "string",
            "description": "Detailed message explaining the issue.",
            "example": "An internal server error occurred."
          }
        }
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the validation error.",
            "example": "error"
          },
          "type": {
            "type": "string",
            "description": "Type of validation error.",
            "example": "Validation Error"
          },
          "code": {
            "type": "string",
            "description": "Error code indicating validation issue.",
            "example": "INVALID_REQUEST"
          },
          "message": {
            "type": "string",
            "description": "Detailed validation error message.",
            "example": "The request parameters are invalid."
          }
        }
      },
      "TransactionNotFoundError": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "Status of the error.",
            "example": "error"
          },
          "type": {
            "type": "string",
            "description": "Type of error indicating transaction not found.",
            "example": "Resource Not Found"
          },
          "code": {
            "type": "string",
            "description": "Error code for transaction not found.",
            "example": "TRANSACTION_NOT_FOUND"
          },
          "message": {
            "type": "string",
            "description": "Detailed message explaining the transaction not found error.",
            "example": "The transaction with the provided ID could not be found."
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Account",
      "description": "All account related endpoints."
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 102,
      "1": 208,
      "2": 243,
      "3": 240,
      "4": 73,
      "5": 214,
      "6": 34,
      "7": 0,
      "8": 37,
      "9": 190,
      "10": 200,
      "11": 166
    }
  }
}
```