Search Overlay

API Endpoints

The API endpoint (URI or URL) must point to either the Test or Production (live) environment.

  • Test API endpointhttps://api.test.paysafe.com/
    For example: https://api.test.paysafe.com/threedsecure/v2/accounts/account_id
  • Production API endpointhttps://api.paysafe.com/
    For example: https://api.paysafe.com/threedsecure/v2/accounts/account_id

API Endpoint Patterns

The API endpoints typically conform to the pattern of the example below:

https://api.test.paysafe.com/threedsecure/v2/accounts/account_id/authentications

Replace the elements in the API endpoint example above as follows:

Element Usage

test

Use test for a test transaction. Remove the word test for a live transaction.
threedsecure

Replace with the API you are using. The available values are:

  • 3D Secure API – threedsecure
  • Card Payments API – cardpayments
  • Customer Vault API – customervault
  • Direct Debit API – directdebit
  • Alternate Payments API – alternatepayments
v2 This is the version of the API.
account_id

Replace with your unique merchant account number.

Merchants can have multiple accounts, for example to process payments in different currencies. All accounts can be set up to use the same API key.

Refer to the table below for further examples.

API Request Used To Endpoint Pattern
Authentication Authenticate a card with 3D Secure 2.

POST/threedsecure/v2/accounts/account_id/authentications

Get Authentication Look up an authentication request.

GET/threedsecure/v2/accounts/account_id/authentications/authentication_id

  • In the above examples replace account_id with your unique merchant account number and replace id with the unique ID of the original transaction.
  • Some API endpoints include multiple parameters. For example, to look up an authentication request, both account_id and authentication_id must be included.
On this Page