Refreshing pending transactions

How to refresh the status of pending transactions


You have created a transaction request — Authorization, Capture, Void, or Refund — to, which is still pending. You want to refresh its status to check if it gets approved.

Solution transactions are asynchronous. That means that once a transaction is created, it remains pending until the webhook updates it. If you want to update the status of the transaction independently, send a PATCH request to the /api/checkout_com_payments/:id endpoint, setting the _refresh attribute to true.

This request will try to refresh any pending transactions and can be used as a fallback strategy in case the webhook isn't fired.


The following request updates the payment source identified by the "emdEKhoOMA" ID to refresh any pending transactions:

curl -g -X PATCH \
  '' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer your-access-token' \
  -H 'Content-Type: application/vnd.api+json' \
  -d '{
  "data": {
    "type": "checkout_payments",
    "id": "emdEKhoOMA",
    "attributes": {
      "_refresh": true

More to read

See our documentation if you need more information on how to update a payment.

Last updated