Releases: htdc/pinxs
Fix typedef
Per request URL configuration
Allows runtime configuration of the URL to hit.
BREAKING CHANGE
URL is set per request now, rather than being taking from your application config. For most users this will not be a problem, the default is the production URL. This means you may need to make changes in test environments, however. Switch to the new PINXS.config(api_key, :test)
invocation
Add support for webhooks
Adds support for the Webhooks API provided by Pin. Reference https://pinpayments.com/developers/api-reference/webhook-endpoints
Allow API key on a per request basis
Previously API key was specified at compile time using Mix config.
In order to provide greater flexibility for things like marketplace providers we now provide the ability to swap API on a per request basis.
This introduces a breaking change wherein all requests require you to pass in your API key. A helper is provided to ensure the key is formatted appropriately PINXS.config("MY API KEY")
. This will be passed as the last parameter to all requests.
v0.1.3
Initial Release :tada:
0.1.2 Bump version