get https://test-api.stash.gg/sdk/user//payment_history
Retrieves a list of payment events associated with a specified user.
Requests require a valid secret to be passed in the Authorization
header. You can generate your credentials in Stash Studio.
Returns an array of payment records for userId
supplied in the URL path. Each record includes the event's unique identifier, the associated user's ID, the monetary amount involved, the currency of the transaction, and the exact timestamp of when the event occurred.
Responses can be filtered using following optional parameters in the request's body:
- startDate: The starting date for filtering payment events. Format: YYYY-MM-DD.
- endDate: The ending date for filtering payment events. Format: YYYY-MM-DD.
- limit: Filters the number of events to be returned.