From f88b26b90addbc30f57f9d71e426a7f9b7f10919 Mon Sep 17 00:00:00 2001 From: Alexander Shkarpetin Date: Fri, 22 Mar 2024 23:14:09 +0500 Subject: [PATCH] feat: Allow clearing sticky gateway from payment instrument by sending `null` value (#1786) * Allow clearing sticky gateway by sending `null` value * Update openapi/components/schemas/PaymentInstrumentUpdateToken.yaml Co-authored-by: Chris <85164331+noon-dawg@users.noreply.github.com> * Trigger CI --------- Co-authored-by: Chris <85164331+noon-dawg@users.noreply.github.com> --- .../components/schemas/PaymentInstrumentUpdateToken.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openapi/components/schemas/PaymentInstrumentUpdateToken.yaml b/openapi/components/schemas/PaymentInstrumentUpdateToken.yaml index 592a73d9bf..b3e5ee7c1d 100644 --- a/openapi/components/schemas/PaymentInstrumentUpdateToken.yaml +++ b/openapi/components/schemas/PaymentInstrumentUpdateToken.yaml @@ -12,10 +12,15 @@ properties: description: |- ID of the sticky gateway account. All future payments are processed by this gateway account. + To remove the sticky gateway account from a payment instrument, set this value to `null`. For more information, see [Gateway routing](https://www.rebilly.com/docs/settings/intelligent-payment-routing/#sticky-gateway-accounts). - $ref: ./ResourceId.yaml + type: + - 'string' + - 'null' + maxLength: 50 + example: gw_acc_0YVCXMF26DDNKAERE5NW727S34 customFields: $ref: ./ResourceCustomFields.yaml useAsBackup: