Sign Up to Xendit
1. To start the integration of Xendit to your Inseanq platform, navigate to Xendit home page and click on Sign up
2. You should be redirected to the Sign-Up page, please fill the form with this info, check I'm not a robot checkbox, then click on Create free account. After that you should answer several questions:
Fill in the next fields:
Choose one of the countries: Indonesia or the Philippines. In case your business operates in both countries – you should create second account
Your name
Business name – it will be shown on your invoices
Email
Password
Answer the following questions:
3. Now you've created a new Accept account, let's activate your account. You can do it on this page - Xendit get started page
Please do not forget to verify your email address
4. Check the inbox of the email you've just registered with, you should receive an email with content similar to what in the image below, click on Verify Email Address
Great! You've created a new account.
Note: The status of the created account will be marked as a "Test" account, this will allow you to test all of Accept's services.
When you finish your testing phase, activate your account to start transacting live (Xendit get started page)
Setup Xendit in Inseanq as a new payment method
1. Go to the Payment Methods under Setting Menu and click Create
2. Enter the name (please note it's going to be visible to your agents and clients). Select Payment by card
3. Choose Xendit under the Payment system, and currency for your payment method
4. Open your Xendit Settings page page in a new tab and choose developers block - Api keys
On Settings page you can see a list of secret API keys.
Press “Generate secret key”
Type in name for it
Choose next Permissions:
Money-in Products should be Write to create invoices. It is required!
Choose None for Money-out Products
All others permissions should be None
Press “Generate key” and confirm it by your password
Copy newly created API key or download it and save to safe place. You will see this window only ONCE. If you lose your API key you can create new one. But not forget to update it in Inseanq app
On Settings page you can find public api key. You will use it in Inseanq payment method
On Settings page you can find Webhook verification token:
After confirmation you will see webhook token:
5. Fill next fields in Inseanq payment method:
Publishable key field – Xendit Public key
Secret key field – Xendit Secret key
Xendit token field – Xendit Webhook verification token
6. Fill in other fields and click Save
7. Open Xendit settings API keys page and scroll down to webhooks list and find INVOICES. Fill the “Invoices paid” url field like on screen below
Callback URL link : https://app.inseanq.com/payment/xendit/callback
Please make sure that you filled “Invoices paid” url field
8. Click “Test and save”. You will receive 400 answer – this is correct. URL saved
