Skip to content

Releases: htdc/pinxs

Fix typedef

23 Aug 00:35
d06baf0
Compare
Choose a tag to compare
  • Update the type definition of Charge to allow for sparse population when capturing a charge

Per request URL configuration

17 Sep 22:48
d568eea
Compare
Choose a tag to compare

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

27 Aug 01:32
f32e8f6
Compare
Choose a tag to compare

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

30 Jul 04:20
f7ff243
Compare
Choose a tag to compare

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

11 Jul 04:47
7af83cf
Compare
Choose a tag to compare
  • Set default currency to AUD in Charge struct
  • Update typespec for Transfer to make reference optional
  • Update typespec for Recipient to make token optional

Initial Release :tada:

23 May 10:56
6dd67d4
Compare
Choose a tag to compare
0.1.2

Bump version