Card Authorized Payment default delay_duration changed to PT1H10M

Dear team,

We noticed in some card authorized payment, the default delay duration changed from PT36H to PT1H10M in one of the locations in the application, could you please help to check the cause?

The card payments are created through Square Terminals, and this change on the default delay duration looks not happening on all payments yet, but we noticed 2 payments with default delay duration PT1H10M in our production env so far.

For reference, the payment id is rHDZ4pUv5vzl7JRWiP9Wl8wupNFZY

Thanks & Best Regards,
Alfred Luan

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

https://developer.squareup.com/docs/reader-sdk/cookbook/capture-a-transaction
https://developer.squareup.com/docs/in-app-payments/localize-ios
Web Payments SDK Requirements

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.

Where are you seeing deadline_duration? I don’t see it being passed in any of the requests or returned in any of the responses.

{
  "checkout": {
    "id": "fS7jK2NlqVhqO",
    "amount_money": {
      "amount": 3500,
      "currency": "USD"
    },
    "device_options": {
      "device_id": "345CS149B6002342",
      "collect_signature": false,
      "tip_settings": {
        "allow_tipping": false
      },
      "skip_receipt_screen": false,
      "show_itemized_cart": false
    },
    "status": "IN_PROGRESS",
    "created_at": "2024-03-14T19:19:17.396Z",
    "updated_at": "2024-03-14T19:19:18.158Z",
    "app_id": "sq0idp-X5g7B-QAtnOvyEFik1fuSg",
    "order_id": "rwJkntq2zwcVtAtk0UvvVqwmjETZY",
    "location_id": "LC4W03NJBWBW5",
    "payment_type": "CARD_PRESENT",
    "payment_options": {
      "autocomplete": false
    }
  }
}

:slightly_smiling_face:

hi Bryan,

Thanks for reply,
but i guess what you pasted is the request, below is the payment data what we got from Square with the payment id in terminal checkout data.

we didn’t set the delay duration in the terminal checkout request explicitly, so that Square can set the default delay duration, which is supposed to be PT36H according to Delay the Capture of Payments .

{
  "id": "rHDZ4pUv5vzl7JRWiP9Wl8wupNFZY",
  "created_at": "2024-03-14T19:19:22.151Z",
  "updated_at": "2024-03-14T19:19:22.698Z",
  "amount_money": {
    "amount": 3500,
    "currency": "USD"
  },
  "total_money": {
    "amount": 3500,
    "currency": "USD"
  },
  "approved_money": {
    "amount": 3500,
    "currency": "USD"
  },
  "status": "APPROVED",
  "delay_duration": "PT1H10M",
  "delay_action": "CANCEL",
  "delayed_until": "2024-03-14T20:29:22.151Z",
  "source_type": "CARD",
  "card_details": ...,
  "location_id": "LC4W03NJBWBW5",
  "order_id": "rwJkntq2zwcVtAtk0UvvVqwmjETZY",
  "capabilities": [
    "EDIT_AMOUNT_UP",
    "EDIT_AMOUNT_DOWN",
    "EDIT_TIP_AMOUNT_UP",
    "EDIT_TIP_AMOUNT_DOWN"
  ],
  "receipt_number": ...,
  "device_details": {
    "device_id": ...,
    "device_installation_id": ...,
    "device_name": null
  },
  "application_details": {
    "square_product": "TERMINAL_API",
    "application_id": "sq0idp-X5g7B-QAtnOvyEFik1fuSg"
  },
  "version_token": ...
}

Okay, thanks for providing the payment. I’m checking with the team. :slightly_smiling_face:

hi Bryan,

Any update please?
Thanks.

This has been resolved now and the default delay_duration for Terminal API payments is PT36H. :slightly_smiling_face: