Skip to main content
PATCH
/
identity
/
v1
/
organizations
/
{organizationId}
/
disabled-payment-rails
Updates payment rail status for an organization.
curl --request PATCH \
  --url https://api.sandbox.tesouro.com/identity/v1/organizations/{organizationId}/disabled-payment-rails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "disable": [
    "<string>"
  ],
  "enable": [
    "<string>"
  ]
}
'
{
  "disabledPaymentRails": [
    "<string>"
  ],
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string<uuid>
required

The organization ID.

Body

Cancellation token.

disable
null | string[]

Payment rails to disable for the organization. Valid values are: "payment_rail:ach", "payment_rail:fednow", "payment_rail:rtp".

enable
null | string[]

Payment rails to enable for the organization (remove from disabled list). Valid values are: "payment_rail:ach", "payment_rail:fednow", "payment_rail:rtp".

Response

Payment rails updated successfully.

disabledPaymentRails
string[]
required
organizationId
string<uuid>
required