The Test API endpoints allow you to speed up your testing process by enabling you to set payment intents in a desired state instantly. This means that you don't have to wait for network confirmations or send testnet bitcoin in order to test different Payment Intent states.

Prerequisite steps

  1. Create a payment intent
  2. See available currencies for the payment intent
  3. Choose an available currency (Create quote)
  4. Execute the desired test API call

👍

Check available test API endpoints in the navigation menu on the left.

📘

Good to know:

It's only possible to choose one state per Payment Intent at a time using the test API endpoints or the Payment Window UI.
In reality, a Payment Intent always transitions from the detected state to a final one, e.g. completed. However, using the test endpoints, you can only put the Payment Intent in a single state at a time.

Your feedback is always welcome, so do not hesitate to get in touch with us if you have a suggestion for an additional Test API endpoint.