📄️ Introduction
A charge refers to an attempt to process a payment using a customer's card. Charges may succeed, fail, or require additional actions, such as 3DS authentication. In some cases, charges may require additional time to produce a result, during which they will be marked as pending until confirmation is received from the acquiring entity.
📄️ Obtain a Token
To make requests to our API, a token is required. To retrieve a token, you need to make a request to the /jwt/token endpoint as follows:
📄️ Create a Customer
Once you have a token, the next step is to create a customer. You can create a new customer for every charge or you can reuse a customer created previously. This will depend on your use case.
📄️ Create a Payment Method (Card)
Once a customer is created, you can create a payment method (card). You can create a payment method for every charge or you can reuse previously created payment methods.
📄️ Create a Charge
The last step is creating the charge. You will need the customerid and the paymentmethod_id created in steps #2 and #3.
📄️ Subscribing to Webhooks
To monitor the outcomes of charges and sessions, you can subscribe to webhooks through our platform.
📄️ Fingerprint
In certain scenarios, you will need to provide a fingerprint ID generated by our JavaScript library.