PUT
/
fundingsources
/
{id}
curl --request PUT \
  --url https://api.sandbox.sudo.cards/fundingsources/{id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "status": "active",
  "jitGateway": {
    "url": "<string>",
    "authorizationHeader": "<string>",
    "authorizeByDefault": "<string>"
  }
}'
"{}"

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

The _id of the funding source you wish to update.

Body

application/json
status
enum<string>
default:
active
required

This is the status of the funding source.

Available options:
active,
inactive
jitGateway
object

Just in-time gateway details. Required if type is gateway.

Response

200
application/json
200

The response is of type object.