Skip to main content
PUT
Update Program Gateway
PUT///
Update an existing Credit Program Gateway. You may want to update a Program Gateway if you are switching it to active or inactive, updating the URL, username, or password, and more.

URL path parameters

Request body

Response body

Authorizations

Authorization
string
header
required

Token used to verify user identity and also authorize user to use service

Path Parameters

token
string
required

Unique identifier of the Program Gateway to update.

Body

application/json

Contains information relevant to updating a Program Gateway.

url
string

URL of the Program Gateway endpoint hosted in your environment and configured to receive authorization requests made by the Marqeta platform. Must be HTTPS.

Maximum string length: 250
Pattern: (?!^ +$)^.+$
mtls
boolean
default:false

Indicates whether the Program Gateway uses mutual Transport Layer Security (mTLS).

name
string

Name of the Program Gateway.

Maximum string length: 255
token
string

Unique identifier of the Program Gateway.

Maximum string length: 36
active
boolean
default:true

Indicates whether the Program Gateway is active.

custom_header
object

Additional custom information included in the HTTP header. For example, this might contain security information, along with Basic Authentication, when making a Program Gateway request. Custom headers also appear in the associated webhook's notifications.

timeout_millis
integer

Total timeout for Program Gateway calls, in milliseconds.

Required range: x <= 2000
basic_auth_password
string

Basic Authentication password for authenticating your environment.

Required string length: 20 - 50
Pattern: (?!^ +$)^.+$
basic_auth_username
string

Basic Authentication username for authenticating your environment.

Maximum string length: 50
Pattern: (?!^ +$)^.+$

Response

Response containing updated Program Gateway.

Contains information relevant to a Credit Program Gateway.

url
string

URL of the Program Gateway endpoint hosted in your environment and configured to receive authorization requests made by the Marqeta platform.

mtls
boolean

Indicates whether the Program Gateway uses mutual Transport Layer Security (mTLS).

name
string

Name of the Program Gateway.

token
string

Unique identifier of the Program Gateway.

active
boolean
default:true

Indicates whether the Program Gateway is active.

created_time
string<date-time>

Date and time when the Program Gateway was created on Marqeta's credit platform, in UTC.

updated_time
string<date-time>

Date and time when the Program Gateway was last updated on Marqeta's credit platform, in UTC.

custom_header
object

Additional custom information included in the HTTP header.

timeout_millis
integer

Total timeout for Program Gateway calls, in milliseconds.

Required range: x <= 2000
basic_auth_password
string

Basic Authentication password for authenticating your environment.

basic_auth_username
string

Basic Authentication username for authenticating your environment.