---
agentTools:
  projectIndex: https://developers.commerce.busha.co/llms.txt
---

# Retrieve an event

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Commerce",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.commerce.busha.co"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/events/{id}": {
      "get": {
        "summary": "Retrieve an event",
        "description": "",
        "operationId": "retrieve-an-event",
        "parameters": [
          {
            "name": "X-BC-API-KEY",
            "in": "header",
            "description": "Your business secret key",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "description": "id of the event",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"message\": \"Retrieved events successfully\",\n    \"pagination\": {\n        \"page\": 1,\n        \"per_page\": 20,\n        \"offset\": 0,\n        \"total_entries_size\": 1,\n        \"current_entries_size\": 1,\n        \"total_pages\": 1\n    },\n    \"events\": [\n        {\n            \"id\": \"642ace358a91bdabd3a4181d\",\n            \"resource\": \"charge.created\",\n            \"created_at\": \"2023-04-03T13:01:41.98Z\",\n            \"data\": {\n                \"id\": \"a911d24f-e61b-47c2-a2d3-10534bfdff71\",\n                \"business_id\": \"b1583d58-be07-4e75-85c9-3493fa4026c7\",\n                \"reference\": \"RVA5RLV24\",\n                \"hosted_url\": \"https://commerce.busha.co\",\n                \"price_fixed\": true,\n                \"local_currency\": \"NGN\",\n                \"meta\": {\n                    \"name\": \"Sarah Shaw\",\n                    \"email\": \"sarah.shaw@example.co\"\n                },\n                \"expires_at\": \"2023-04-03T15:01:40.387064+01:00\",\n                \"timeline\": [\n                    {\n                        \"status\": \"NEW\",\n                        \"created_at\": \"2023-04-03T14:01:40.392093+01:00\"\n                    }\n                ],\n                \"addresses\": [\n                    {\n                        \"currency_id\": \"BTC\",\n                        \"chain\": \"BTC\",\n                        \"address\": \"2NByHBPGz6ukPysFZSRfDV3cwX5wuhTg94r\",\n                        \"label\": \"\",\n                        \"memo\": \"\"\n                    },\n                    {\n                        \"currency_id\": \"ETH\",\n                        \"chain\": \"ETH\",\n                        \"address\": \"0xc3E98303AD77C82719aeE9e15A93ceFF9520AA1e\",\n                        \"label\": \"\",\n                        \"memo\": \"\"\n                    },\n                    {\n                        \"currency_id\": \"USDT\",\n                        \"chain\": \"TRX\",\n                        \"address\": \"TANH5M9eseArxNGz6ZQJ3YpivEz5Hb6VMu\",\n                        \"label\": \"\",\n                        \"memo\": \"\"\n                    },\n                    {\n                        \"currency_id\": \"USDT\",\n                        \"chain\": \"ETH\",\n                        \"address\": \"0x8E3BcC3D904ACc44DF6400B66F419989a9915897\",\n                        \"label\": \"\",\n                        \"memo\": \"\"\n                    }\n                ],\n                \"payments\": [],\n                \"pricing\": [\n                    {\n                        \"currency_id\": \"BTC\",\n                        \"amount\": \"0.00236569\",\n                        \"rate\": \"21135458\",\n                        \"is_local\": false\n                    },\n                    {\n                        \"currency_id\": \"ETH\",\n                        \"amount\": \"0.03679\",\n                        \"rate\": \"1359055.1\",\n                        \"is_local\": false\n                    },\n                    {\n                        \"currency_id\": \"NGN\",\n                        \"amount\": \"50000\",\n                        \"rate\": \"1\",\n                        \"is_local\": true\n                    },\n                    {\n                        \"currency_id\": \"USDT\",\n                        \"amount\": \"66.836877\",\n                        \"rate\": \"748.09\",\n                        \"is_local\": false\n                    }\n                ]\n            }\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Retrieved events successfully"
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 20,
                          "default": 0
                        },
                        "offset": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "total_entries_size": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "current_entries_size": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "total_pages": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        }
                      }
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "642ace358a91bdabd3a4181d"
                          },
                          "resource": {
                            "type": "string",
                            "example": "charge.created"
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2023-04-03T13:01:41.98Z"
                          },
                          "data": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "a911d24f-e61b-47c2-a2d3-10534bfdff71"
                              },
                              "business_id": {
                                "type": "string",
                                "example": "b1583d58-be07-4e75-85c9-3493fa4026c7"
                              },
                              "reference": {
                                "type": "string",
                                "example": "RVA5RLV24"
                              },
                              "hosted_url": {
                                "type": "string",
                                "example": "https://commerce.busha.co"
                              },
                              "price_fixed": {
                                "type": "boolean",
                                "example": true,
                                "default": true
                              },
                              "local_currency": {
                                "type": "string",
                                "example": "NGN"
                              },
                              "meta": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string",
                                    "example": "Sarah Shaw"
                                  },
                                  "email": {
                                    "type": "string",
                                    "example": "sarah.shaw@example.co"
                                  }
                                }
                              },
                              "expires_at": {
                                "type": "string",
                                "example": "2023-04-03T15:01:40.387064+01:00"
                              },
                              "timeline": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "status": {
                                      "type": "string",
                                      "example": "NEW"
                                    },
                                    "created_at": {
                                      "type": "string",
                                      "example": "2023-04-03T14:01:40.392093+01:00"
                                    }
                                  }
                                }
                              },
                              "addresses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "currency_id": {
                                      "type": "string",
                                      "example": "BTC"
                                    },
                                    "chain": {
                                      "type": "string",
                                      "example": "BTC"
                                    },
                                    "address": {
                                      "type": "string",
                                      "example": "2NByHBPGz6ukPysFZSRfDV3cwX5wuhTg94r"
                                    },
                                    "label": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "memo": {
                                      "type": "string",
                                      "example": ""
                                    }
                                  }
                                }
                              },
                              "payments": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {}
                                }
                              },
                              "pricing": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "currency_id": {
                                      "type": "string",
                                      "example": "BTC"
                                    },
                                    "amount": {
                                      "type": "string",
                                      "example": "0.00236569"
                                    },
                                    "rate": {
                                      "type": "string",
                                      "example": "21135458"
                                    },
                                    "is_local": {
                                      "type": "boolean",
                                      "example": false,
                                      "default": true
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"name\": \"bad_request\",\n    \"message\": \"something went wrong retrieving events\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "bad_request"
                        },
                        "message": {
                          "type": "string",
                          "example": "something went wrong retrieving events"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"error\": {\n    \"name\": \"unauthorized\",\n    \"message\": \"Invalid Authentication\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "unauthorized"
                        },
                        "message": {
                          "type": "string",
                          "example": "Invalid Authentication"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63f94c2f2017a0005783edff:63fc869e458d560065784309"
}
```