- Payment methods

- API credentials
- Public API key
- Private API key
Set up Affirm so travellers can pay for a booking over time while you get the full amount upfront. You need an Affirm business account in one of the countries listed above.
Apply for an Affirm business account
- 1
Apply with Affirm
Apply at affirm.com/business with your business details and bank account.
- 2
Wait for approval
Affirm reviews each business, usually within one to five business days. Once approved, you can sign in to the Affirm Merchant Portal.
Copy your Affirm API keys
- 1
Open the API keys
In the Merchant Portal, open the API keys page.
- 2
Copy the production keys
Copy the production public API key and private API key. Sandbox keys only take test payments, never real ones.
Add Affirm in TourTask
- 1
Open the Affirm card
Go to Configuration → Payment options and click the Affirm card under Online payments → Payment gateways. Not there? Choose Show all gateways under the cards.
- 2
Choose the country and currency
Pick the Country where your Affirm account and its bank account are, and the Currency travellers pay in. Click Add. To change either later, remove Affirm with Remove and add it again.
- 3
Fill in your API credentials
Under Authentication, the card has a field for each:
Public API key
Private API keyEach field saves when you click out of it.
- 4
Activate Affirm
Click Activate once every field is filled in. The card turns Active, and travellers can pay with Affirm on your booking page. Every payment goes straight into your own Affirm account: TourTask never holds your money.
Questions we get asked
Affirm pays you the full amount upfront, minus its fee, and collects from the traveller over time.
Yes, in full or in part, from the payment's menu on the booking. Affirm adjusts the traveller's plan straight away.