Skip to main content
Note
This feature requires additional activation steps. To learn more about this feature and activating it for your program, contact your Marqeta representative.
Use the Credit Program Gateways endpoints to create, retrieve, and update Program Gateways for your credit program. A Program Gateway allows you to exchange messages with Marqeta’s credit platform regarding decisions on transaction authorizations. For more on Program Gateways, see About Credit Program Gateways.

Create Program Gateway

Action: POST
Endpoint: /credit/programgateways
Create a new Credit Program Gateway. Use this endpoint to configure your Program Gateway to receive gateway requests from Marqeta’s credit platform. You can create multiple Program Gateways, but only one can be active per credit program.
Note
To create a Program Gateway, you must have consumer or admin credentials.

Request body

Sample request body

JSON

Response body

List Program Gateways

Action: GET
Endpoint: /credit/programgateways
Retrieve an array of existing Credit Program Gateways. This endpoint supports sorting and pagination.

URL query parameters

Response body

Retrieve Program Gateway

Action: GET
Endpoint: /credit/programgateways/{token}
Retrieve an existing Credit Program Gateway.

URL path parameters

Response body

Sample response body

JSON

Update Program Gateway

Action: PUT
Endpoint: /credit/programgateways/{token}
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