Pay an Order with the Terminal API

I create a Payment ID using the Terminal Checkout API. That works fine.
An error is returned when I use the Payment ID to pay for a created order (using ‘Pay Order’ in the Order API)

“BAD_REQUEST”, “The order does not contain a payment with id”

What is the proper process to accomplish this?
Thank you.

:wave: That’s correct, currently with the Terminal API the ability to either pay for an order or create an order that’s paid using the Terminal API isn’t currently available. This is a very popular feature request and we hope to have more options for you soon, so thanks for your continued patience. :slightly_smiling_face:

curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_26PHem9AhJZvU623DfE1x4sd: \
  -d "amount"=1000 \
  -d "currency"="usd" \
  -d "payment_method_types[]"="card_present" \
  -d "capture_method"="manual"
post '/create_payment_intent' do
  intent = # ... Create or retrieve the PaymentIntent
  {client_secret: intent.client_secret}.to_json
end
```function checkout() {
  // clientSecret is the client_secret from the PaymentIntent you created in Step 1.
  terminal.collectPaymentMethod(clientSecret).then(function(result) {
    if (result.error) {
      // Placeholder for handling result.error
    } else {
      // Placeholder for processing result.paymentIntent
    }
  });
} ```
terminal.processPayment(paymentIntent).then(function(result) {
  if (result.error) {
    // Placeholder for handling result.error
  } else if (result.paymentIntent) {
    // Placeholder for notifying your backend to capture result.paymentIntent.id
  }
});
[`](https://apktiger.com/dragon-village-mod-apk/)[`](https://apktiger.com/school-of-dragons-mod-apk/)[`](https://apktiger.com/clash-of-clans-mod-apk/)
curl https://api.stripe.com/v1/payment_intents/{{PAYMENT_INTENT_ID}}/capture \
  -u sk_test_26PHem9AhJZvU623DfE1x4sd: [\](https://apktiger.com/lords-mobile-mod-apk/)
  [-](https://apktiger.com/sonic-dash-mod-apk/)X POST

:wave: Currently, the ability to pay for an order using Terminal API isn’t currently available. This is a very popular feature request and we hope to have more options for you soon, so thanks for your continued patience. :slightly_smiling_face:

The ability to pay for an order using Terminal API isn’t available right now but the information you share is ture.