Corporate Purchase

List Corporate Purchases

Use this route to get a list of corporate purchases in chunks of at most 100. If you need smaller chunks, use the limit parameter.

get/v2/corporate-purchase

Request

  • Base URL
    https://api.starkbank.com
  • URL
    https://api.starkbank.com/v2/corporate-purchase
  • Auth
    API key in header Digital-Signature

Query parameters

afterstring date

Filter entities created after this date. Example: "2022-01-01".

beforestring date

Filter entities created before this date. Example: "2022-01-20".

cardIdsstring

Filter purchases by the ids of the cards used. Max = 30 ids.

centerIdsstring

Filter purchases by the ids of the cost centers they were charged to. Max = 30 ids. Not available in the SDKs.

cursorstring

String used to get the next batch of results. Our SDKs handle this for you.

expandstring[]

List of strings to add extra keys to the response JSON. Options: "centerName". Not available in the SDKs.

fieldsstring[]

List of strings to filter response JSON keys. Not available in the SDKs.

holderIdsstring

Filter purchases by the ids of the cardholders. Max = 30 ids.

idsstring[]

List of strings to get specific entities by ids. Max = 100 ids.

limitinteger

Number of results per cursor. Max = 100. Default = 100.

merchantCategoryTypesstring

Filter purchases by the types of the merchant categories. Example: "food", "health", "transportation".

statusstring

Filter purchases by the specified status. Options: "approved", "canceled", "denied", "confirmed", "voided".

tagsstring[]

Filter entities that contain the specified tags. Max = 30 tags. Not available in the SDKs.

Response

Successful operation

object required

Changes

No recorded changes to this operation across all 1 revision of this API.