Conversion-optimised payment forms, hosted on Javelin that allow you to capture payments, save cards and handle authentications.
Your Javelin integration starts here
Javelin Checkout's payment links are an easy way of accepting payments, using hosted pages on Javelin. By using our Checkout, we generate the payment links, so you don't need to implement the checkout UI, or handle authentication flows.
Our payment page is optimised for conversion.
Match your brand - Javelin payments will implement custom hosted card saving pages.
Support authentication flows like Dynamic 3D Secure to reduce fraud - and meet European regulations.
Create payment links
You can create payment links using POST /link endpoint.
Here is an example API request to create a payment link.
Once the shopper has completed the payment, s/he will be redirected back to the return_url you provided in the POST /link endpoint call. The return_url will also contain a pt_id query parameter which is the id of a PendingTransaction , which will tell you the result of the transaction made by the payment link.
So, in the example the shopper will be redirected to -https://your_return.url?pt_id=PT_5f689c6154b0e
In order to see the details of a PendingTransaction you can use -GET /pendingTransaction/{pendingTransactionId} endpoint where pendingTransactionId is pt_id in the query in the return_url.
PendingTransaction's status will show you the result of the payment link. PendingTransaction also has the transaction property, which is the actual Transaction object, containing the transaction details carried out by the shopper via the Checkout link.
Auto-capturing the payment links
You can either only pre-authorise the payment, or you can auto-capture it immediately once the payment has been created. In order to create an auto-captured payment link, you can provide auto_capture=1 in the POST /link call.
transactionId in POST /transaction/{transactionId}/capture is the id of a transaction rather than pending transaction.
Card Saving
You can also save the cards in the same process as carrying out the transaction.
Once the payment has succeeded, the shopper's card is saved and PendingTransaction will contain a card property.
In order to save the cards along with the payment transaction, provide recurring=1 in the link creation.