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

Authorizations

Authorization
string
header
required

Body

application/json
type
enum<string>
default:
default
required

This is the funding source type.

Available options:
default,
account,
gateway
status
enum<string>
default:
active
required

This is the initial 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.