Miscellaneous

How do I create the Authorization header to authenticate API requests?

The header format is:

Authorization: Basic {your token}

For detailed information please refer to the authentication section of our API documentation.

Every request to the Airtm API must present proper authentication credentials. To authenticate, transmit an HTTP Basic Authorization header. To compose it manually, base64-encode a string with the following format:

<API Key>:<API Secret>

For example, if your API Key is "123" and your API Secret is "abc", concatenate them with a colon: 123:abc. Apply base64 encoding to get MTIzOmFiYw==. The full header would be:

Authorization: Basic MTIzOmFiYw==

Do you allow your payment page to be opened inside an iframe?

No. (X-Frame-Options and Content-Security-Policy headers prevent this.)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.