Mastercard Spendingpulse
Connector for the mastercard-spendingpulse API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://api.mastercard.com/spendingpulse/v1/spulse.svc - Auth:
bearer(pass your key via theapiKeyinput)
Operations
get_gasweekly— GET /gasweekly — Returns the weekly gasoline report. This resource pulls back the report with ProductLine = "US Weekly Gasoline Demand Report". Keep in mind that you must be subscribed to the gasoline weekly report to be able to receive data back from this resource.get_parameters— GET /parameters — Returns a distinct list of all reports are available and that one is subscribed to.get_spendingpulse— GET /spendingpulse — Returns all Spending Pulse reports (with the exception of the gasoline weekly report, which has its own resource), that one is subscribed to.get_subscription— GET /subscription — Returns a list of all reports one is currently subscribed to.
Inputs
apiKey— your mastercard-spendingpulse API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_gasweekly
apiKey: <your key>