Bit
When a customer selects Bit as their payment method, your server will initiate a call to a Tranzila API service. The response from the API will include a URL that needs to be displayed within an iframe on your website. This iframe will feature a QR code which can be scanned from within the BIT application to display the payment request. In addition, you can get inside the iframe afield to input a phone number to which a payment request link will be sent, Clicking on the link will open the BIT application with the payment request. Once the payment is made, the iframe will automatically redirect to a success or failure page
Displaying the URL within an iframe: The developer would need to know how to embed the URL within an iframe on their website, and ensure that it is displayed correctly.
Success and failure pages: The developer would need to create these pages and ensure that they are properly configured to handle the redirect from the iframe upon payment completion.
How do you get started with Bit?
- Transactions must be in NIS (₪) and the sum must be over 5 NIS
- It is necessary for you to have a number identifier from Visa or Isracard (even if it is charged for Diners/AMEX) - Max customers are not offered the service at this time.
- Pay/Direct/Iframe/Trapi as well as pro forma invoices through the MY system are supported, but Hosted Fields, 3DS and customers who pay directly through MY.tranzila.com are not supported.
- Please, make sure that all the credit card brands are open for you in your payment provider (Visa/Isracard).
- You can refund customers through MY.tranzila.com or through the Tranzila API.
| Header | Note |
|---|---|
| X-tranzila-api-app-key | Application key supplied by Tranzila |
| X-tranzila-api-request-time | Request time sent in Unix format (large integer counting milliseconds from Jan 1 st , 1970 00:00:00 |
| X-tranzila-api-nonce | A 40 bytes NONCE – unique random string generated with any random bytes function |
| X-tranzila-api-access-token | hash_hmac using ‘sha256’ on application key with secret + request-time + nonce. hash_hmac is available for all programming languages with samples found here: https://www.jokecamp.com/blog/examples-of-creating-base64-hashes-using-hmac-sha256-in-different-languages/ |
Detailed explanation regarding the authentication header parameters can be found in authentication