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

# List all charges

This endpoint allows you to retrieve a list of charges with optional sorting, pagination and limiting.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Commerce",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.commerce.busha.co"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/charges": {
      "get": {
        "summary": "List all charges",
        "description": "This endpoint allows you to retrieve a list of charges with optional sorting, pagination and limiting.",
        "operationId": "list-charges",
        "parameters": [
          {
            "name": "sort",
            "in": "query",
            "description": "asc or desc",
            "schema": {
              "type": "string",
              "default": "desc"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "X-BC-API-KEY",
            "in": "header",
            "description": "Your business secret key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"message\": \"Charges were successfully retrieved\",\n    \"pagination\": {\n        \"page\": 1,\n        \"per_page\": 2,\n        \"offset\": 0,\n        \"total_entries_size\": 102,\n        \"current_entries_size\": 2,\n        \"total_pages\": 51\n    },\n    \"data\": [\n        {\n            \"business_name\": \"Astro Shop\",\n            \"id\": \"7ce45426-be5e-4ccf-a554-02b1ac0a4266\",\n            \"business_id\": \"3f2eb2df-34ca-4854-b05f-212a95d3fb50\",\n            \"reference\": \"REBEZ0BIO\",\n            \"hosted_url\": \"https://pay.busha.co/charges/916f0b11-a31b-4df7-a53e-f1529b5424f1\",\n            \"deeplink\": \"https:/busha.page.link/busha_pay/charge/7ce45426-be5e-4ccf-a554-02b1ac0a4266\",\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-03T10:26:34.824986Z\",\n            \"timeline\": [\n                {\n                    \"status\": \"NEW\",\n                    \"created_at\": \"2023-04-03T09:26:34.826874Z\"\n                }\n            ],\n            \"supported_assets\": null,\n            \"payment_threshold\": {\n                \"overpayment_absolute_threshold\": \"0\",\n                \"overpayment_relative_threshold\": \"0\",\n                \"underpayment_absolute_threshold\": \"0\",\n                \"underpayment_relative_threshold\": \"0\"\n            },\n            \"payments\": [],\n            \"pricing\": [\n                {\n                    \"currency_id\": \"NGN\",\n                    \"amount\": \"50000\",\n                    \"rate\": \"1\",\n                    \"is_local\": true\n                },\n                {\n                    \"currency_id\": \"BTC\",\n                    \"amount\": \"0.00235591\",\n                    \"rate\": \"21223136\",\n                    \"is_local\": false\n                },\n                {\n                    \"currency_id\": \"ETH\",\n                    \"amount\": \"0.03673518\",\n                    \"rate\": \"1361092.9\",\n                    \"is_local\": false\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"amount\": \"66.955019\",\n                    \"rate\": \"746.77\",\n                    \"is_local\": false\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"currency_id\": \"BTC\",\n                    \"chain\": \"BTC\",\n                    \"address\": \"2NB1So285qLEteXpAL5zJhYBdttK4u9f1m5\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"ETH\",\n                    \"chain\": \"ETH\",\n                    \"address\": \"0xE96952CF1588eADBbc3ABc083A2e22e0fB88ce70\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"TRX\",\n                    \"address\": \"TLG7GLHnRsfFNX1W3XRdHQVyHbqx3qAgv9\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"BSC\",\n                    \"address\": \"0x315C8C3732212837e2b526D3569Ec5269E478612\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"ETH\",\n                    \"address\": \"0xBBB71a01874Ed41f8dd68B2394c2CB2f029D15cC\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                }\n            ],\n            \"local_amount\": \"50000\"\n        },\n        {\n            \"business_name\": \"Astro Shop\",\n            \"id\": \"f1d07ce8-d2f1-46f3-be6f-cf16209bc78d\",\n            \"business_id\": \"3f2eb2df-34ca-4854-b05f-212a95d3fb50\",\n            \"reference\": \"RGSGJQZZX\",\n            \"hosted_url\": \"https://pay.busha.co/charges/916f0b11-a31b-4df7-a53e-f1529b5424f2\",\n            \"deeplink\": \"https:/busha.page.link/busha_pay/charge/f1d07ce8-d2f1-46f3-be6f-cf16209bc78d\",\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-03-06T17:56:21.910083Z\",\n            \"timeline\": [\n                {\n                    \"status\": \"CANCELLED\",\n                    \"created_at\": \"2023-03-06T16:56:28.215766Z\"\n                },\n                {\n                    \"status\": \"NEW\",\n                    \"created_at\": \"2023-03-06T16:56:21.911738Z\"\n                }\n            ],\n            \"supported_assets\": null,\n            \"payment_threshold\": {\n                \"overpayment_absolute_threshold\": \"0\",\n                \"overpayment_relative_threshold\": \"0\",\n                \"underpayment_absolute_threshold\": \"0\",\n                \"underpayment_relative_threshold\": \"0\"\n            },\n            \"payments\": [],\n            \"pricing\": [\n                {\n                    \"currency_id\": \"NGN\",\n                    \"amount\": \"100\",\n                    \"rate\": \"1\",\n                    \"is_local\": true\n                },\n                {\n                    \"currency_id\": \"BTC\",\n                    \"amount\": \"0.00000597\",\n                    \"rate\": \"16742238\",\n                    \"is_local\": false\n                },\n                {\n                    \"currency_id\": \"ETH\",\n                    \"amount\": \"0.00008503\",\n                    \"rate\": \"1176090.8\",\n                    \"is_local\": false\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"amount\": \"0.13512053\",\n                    \"rate\": \"740.08\",\n                    \"is_local\": false\n                }\n            ],\n            \"addresses\": [\n                {\n                    \"currency_id\": \"BTC\",\n                    \"chain\": \"BTC\",\n                    \"address\": \"2MwzBsySVAQzambEE1PHHq2naWk9aySRyp7\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"ETH\",\n                    \"chain\": \"ETH\",\n                    \"address\": \"0xCCa0A24C9a49983aA14834FEB69E752d864C961d\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"TRX\",\n                    \"address\": \"TMAiNa5R1RJr2gGKGftGSvxotLXzoqhpRA\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"BSC\",\n                    \"address\": \"0x360A47e3D5E24643941B04C6525925B5a2F4C80a\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                },\n                {\n                    \"currency_id\": \"USDT\",\n                    \"chain\": \"ETH\",\n                    \"address\": \"0xe3766b73c221113E5fAd4a59cb60EABe912981Ec\",\n                    \"label\": \"\",\n                    \"memo\": \"\"\n                }\n            ],\n            \"local_amount\": \"100\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "Charges were successfully retrieved"
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 2,
                          "default": 0
                        },
                        "offset": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "total_entries_size": {
                          "type": "integer",
                          "example": 102,
                          "default": 0
                        },
                        "current_entries_size": {
                          "type": "integer",
                          "example": 2,
                          "default": 0
                        },
                        "total_pages": {
                          "type": "integer",
                          "example": 51,
                          "default": 0
                        }
                      }
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "business_name": {
                            "type": "string",
                            "example": "Astro Shop"
                          },
                          "id": {
                            "type": "string",
                            "example": "7ce45426-be5e-4ccf-a554-02b1ac0a4266"
                          },
                          "business_id": {
                            "type": "string",
                            "example": "3f2eb2df-34ca-4854-b05f-212a95d3fb50"
                          },
                          "reference": {
                            "type": "string",
                            "example": "REBEZ0BIO"
                          },
                          "hosted_url": {
                            "type": "string",
                            "example": "https://pay.busha.co/charges/916f0b11-a31b-4df7-a53e-f1529b5424f1"
                          },
                          "deeplink": {
                            "type": "string",
                            "example": "https:/busha.page.link/busha_pay/charge/7ce45426-be5e-4ccf-a554-02b1ac0a4266"
                          },
                          "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-03T10:26:34.824986Z"
                          },
                          "timeline": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "status": {
                                  "type": "string",
                                  "example": "NEW"
                                },
                                "created_at": {
                                  "type": "string",
                                  "example": "2023-04-03T09:26:34.826874Z"
                                }
                              }
                            }
                          },
                          "supported_assets": {},
                          "payment_threshold": {
                            "type": "object",
                            "properties": {
                              "overpayment_absolute_threshold": {
                                "type": "string",
                                "example": "0"
                              },
                              "overpayment_relative_threshold": {
                                "type": "string",
                                "example": "0"
                              },
                              "underpayment_absolute_threshold": {
                                "type": "string",
                                "example": "0"
                              },
                              "underpayment_relative_threshold": {
                                "type": "string",
                                "example": "0"
                              }
                            }
                          },
                          "payments": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {}
                            }
                          },
                          "pricing": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "currency_id": {
                                  "type": "string",
                                  "example": "NGN"
                                },
                                "amount": {
                                  "type": "string",
                                  "example": "50000"
                                },
                                "rate": {
                                  "type": "string",
                                  "example": "1"
                                },
                                "is_local": {
                                  "type": "boolean",
                                  "example": true,
                                  "default": true
                                }
                              }
                            }
                          },
                          "addresses": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "currency_id": {
                                  "type": "string",
                                  "example": "BTC"
                                },
                                "chain": {
                                  "type": "string",
                                  "example": "BTC"
                                },
                                "address": {
                                  "type": "string",
                                  "example": "2NB1So285qLEteXpAL5zJhYBdttK4u9f1m5"
                                },
                                "label": {
                                  "type": "string",
                                  "example": ""
                                },
                                "memo": {
                                  "type": "string",
                                  "example": ""
                                }
                              }
                            }
                          },
                          "local_amount": {
                            "type": "string",
                            "example": "50000"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "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:63fa79f6947985007a62aea5"
}
```