---
updatedAt: 2026-09-10T18:30:14.000Z
---

# Get billing history

This API allows you to fetch your billing history.<br><b style='color:green;'>Market availability: US only</b>

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Advertising",
    "version": "1.0.0",
    "description": "The Advertising API provides comprehensive advertising solutions for Walmart sellers, including:\n\n## Search Engine Marketing (SEM)\nSearch Engine Marketing allows you to promote your listings through Google Shopping Ads and reach customers who are searching on Google for products like yours.\n\n## Walmart Seller Affiliate Program (WSR)\nThe Attribution Reports API provides sellers with detailed performance analytics and item-level metrics for their affiliate marketing campaigns. This API enables sellers to track campaign effectiveness, monitor click-through rates, conversions, and revenue attribution across different campaign hierarchies.<br><b style='color:green;'>Market availability: US only</b>\n\n## Authentication\nAll API requests require authentication using Walmart's standard OAuth 2.0 authentication.\nInclude the following headers with each request:\n- `WM_SEC.ACCESS_TOKEN`: Your access token\n- `WM_CONSUMER.CHANNEL.TYPE`: Consumer Channel Type received during onboarding\n- `WM_SVC.NAME`: Walmart Service Name\n- `WM_QOS.CORRELATION_ID`: Unique request correlation ID\n\n## Rate Limits\n- 10 requests per second per seller\n- 1000 requests per hour per seller\n\n## Data Freshness\nPerformance data is updated daily. Data for the current day may be incomplete.\n",
    "contact": {
      "name": "Walmart Marketplace API Support",
      "url": "https://developer.walmart.com/support"
    },
    "license": {
      "name": "Walmart API License",
      "url": "https://developer.walmart.com/terms"
    }
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Production URL"
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Sandbox URL"
    }
  ],
  "tags": [
    {
      "name": "SEM - Reporting",
      "description": "Endpoints for retrieving SEM campaign performance reports"
    }
  ],
  "paths": {
    "/v3/advertising/sem/billing-history": {
      "post": {
        "tags": [
          "SEM - Reporting"
        ],
        "summary": "Get billing history",
        "description": "This API allows you to fetch your billing history.<br><b style='color:green;'>Market availability: US only</b>",
        "operationId": "getBillingHistory",
        "parameters": [
          {
            "in": "header",
            "$ref": "#/components/parameters/accessToken"
          },
          {
            "in": "header",
            "$ref": "#/components/parameters/channelType"
          },
          {
            "in": "header",
            "$ref": "#/components/parameters/correlationId"
          },
          {
            "in": "header",
            "$ref": "#/components/parameters/svcName"
          },
          {
            "$ref": "#/components/parameters/globalVersion"
          },
          {
            "$ref": "#/components/parameters/market"
          }
        ],
        "requestBody": {
          "description": "Request Payload",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SemBillingHistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Operation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemBillingHistoryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemErrorResponse400"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemErrorResponse500"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "parameters": {
      "accessToken": {
        "name": "WM_SEC.ACCESS_TOKEN",
        "in": "header",
        "description": "Access token obtained from the Token API. This is required for authenticating requests to Walmart Marketplace APIs.",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "eyJraWQiOiIxNWNhNGIyYi0yODVjLTQ0ZDUtYmExNC05ZDk1NTlkZmUwNjgiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0...."
      },
      "channelType": {
        "name": "WM_CONSUMER.CHANNEL.TYPE",
        "in": "header",
        "description": "A unique ID to identify the consumer request by channel. Use the Consumer Channel Type received during onboarding.",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "correlationId": {
        "name": "WM_QOS.CORRELATION_ID",
        "in": "header",
        "description": "A unique ID that identifies each API call and is used to track and debug issues. Use a randomly generated GUID for this ID.",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
      },
      "svcName": {
        "name": "WM_SVC.NAME",
        "in": "header",
        "description": "Specifies the name of the Walmart service being called.",
        "required": true,
        "schema": {
          "type": "string"
        },
        "example": "Walmart Marketplace"
      },
      "globalVersion": {
        "name": "WM_GLOBAL_VERSION",
        "in": "header",
        "description": "The version of the global API used.",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "3.1"
          ],
          "default": "3.1"
        },
        "example": "3.1"
      },
      "market": {
        "name": "WM_MARKET",
        "in": "header",
        "description": "Identifies the Walmart Marketplace region for the request.",
        "required": true,
        "schema": {
          "type": "string",
          "enum": [
            "us"
          ],
          "default": "us"
        },
        "example": "us"
      }
    },
    "schemas": {
      "SemError400": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "A unique identifier for the type of error. This helps in quickly recognizing and categorizing the specific issue.",
            "example": "INVALID_REQUEST.SEM_API"
          },
          "description": {
            "type": "string",
            "description": "A detailed message explaining what caused the error. This provides more context about the issue.",
            "example": "Request not valid"
          },
          "info": {
            "type": "string",
            "description": "A brief summary of the error, often used for a quick understanding of the issue.",
            "example": "End date cannot be before start date"
          },
          "severity": {
            "type": "string",
            "description": "Indicates the criticality of the error. Common values include `ERROR`, `WARNING`, or `INFO`.",
            "example": "Error"
          },
          "category": {
            "type": "string",
            "description": "Classifies the error into a specific group or type, which helps in organizing and managing different types of issues.",
            "example": "Data specific error"
          }
        }
      },
      "SemErrorResponse400": {
        "type": "object",
        "properties": {
          "error": {
            "type": "array",
            "description": "An array containing error messages related to the request.",
            "items": {
              "$ref": "#/components/schemas/SemError400"
            }
          }
        }
      },
      "SemError500": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "A unique identifier for the type of error. This helps in quickly recognizing and categorizing the specific issue.",
            "example": "SYSTEM_ERROR.SEM_API"
          },
          "description": {
            "type": "string",
            "description": "A detailed message explaining what caused the error. This provides more context about the issue.",
            "example": "Internal server error"
          },
          "info": {
            "type": "string",
            "description": "A brief summary of the error, often used for a quick understanding of the issue.",
            "example": "An unexpected error occurred"
          },
          "severity": {
            "type": "string",
            "description": "Indicates the criticality of the error. Common values include `ERROR`, `WARNING`, or `INFO`.",
            "example": "Error"
          },
          "category": {
            "type": "string",
            "description": "Classifies the error into a specific group or type, which helps in organizing and managing different types of issues.",
            "example": "System specific error"
          }
        }
      },
      "SemErrorResponse500": {
        "type": "object",
        "properties": {
          "error": {
            "type": "array",
            "description": "An array containing error messages related to the request.",
            "items": {
              "$ref": "#/components/schemas/SemError500"
            }
          }
        }
      },
      "SemPagination": {
        "type": "object",
        "properties": {
          "pageNo": {
            "type": "integer",
            "description": "Page number.",
            "format": "int32",
            "example": 1
          },
          "pageSize": {
            "type": "integer",
            "description": "Page size",
            "format": "int32",
            "example": 10
          },
          "totalCount": {
            "type": "integer",
            "description": "Total count",
            "format": "int32",
            "example": 45
          },
          "totalPages": {
            "type": "integer",
            "description": "Total pages",
            "format": "int32",
            "example": 5
          }
        },
        "description": "Pagination details"
      },
      "SemPage": {
        "required": [
          "limit",
          "offset"
        ],
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "description": "The starting position for fetching records. Must be zero or a positive value.",
            "format": "int32",
            "example": 0
          },
          "limit": {
            "type": "integer",
            "description": "The maximum number of records to fetch per page. Must be a positive value and cannot exceed 200.",
            "format": "int32",
            "example": 10
          }
        },
        "description": "Pagination criteria"
      },
      "SemBillingHistoryResponse": {
        "type": "object",
        "properties": {
          "pagination": {
            "$ref": "#/components/schemas/SemPagination"
          },
          "data": {
            "type": "array",
            "description": "List of invoices",
            "items": {
              "$ref": "#/components/schemas/SemInvoice"
            }
          }
        }
      },
      "SemInvoice": {
        "type": "object",
        "properties": {
          "invoiceDate": {
            "type": "string",
            "description": "The date when the invoice was generated.",
            "example": "2025-01-09"
          },
          "billingDateFrom": {
            "type": "string",
            "description": "Start date of the billing period.",
            "example": "2025-01-01"
          },
          "billingDateTo": {
            "type": "string",
            "description": "End date of the billing period.",
            "example": "2025-01-07"
          },
          "status": {
            "type": "string",
            "description": "Current status of the invoice.",
            "example": "SUCCESS"
          },
          "amount": {
            "type": "number",
            "description": "Total amount charged in the invoice.",
            "example": -100
          },
          "currency": {
            "type": "string",
            "description": "Currency in which the invoice amount is denominated.",
            "example": "USD"
          },
          "paymentMode": {
            "type": "string",
            "description": "Payment method used for settling the invoice.",
            "example": "SETTLEMENT"
          }
        },
        "description": "List of invoices"
      },
      "SemBillingHistoryRequest": {
        "type": "object",
        "properties": {
          "page": {
            "$ref": "#/components/schemas/SemPage"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "Use the access token obtained from the Token API.\nInclude it in the WM_SEC.ACCESS_TOKEN header.\n"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ]
}
```