Skip to main content
Use the payment sources endpoint to link an external payment source to an account on Marqeta’s credit platform. This enables account holders to use the linked payment source to make payments toward their account balance.

Create payment source

Action: POST
Endpoint: /credit/paymentsources
Create a payment source from which to make payments.

Request body

Sample request body

JSON

Response body

Sample response body

JSON

List payment sources

Action: GET
Endpoint: /credit/paymentsources
Retrieve an array of payment sources. This endpoint supports sorting and pagination.

URL query parameters

Response body

Sample response body

JSON

Retrieve payment source

Action: GET
Endpoint: /credit/paymentsources/{token}
Retrieve a payment source.

URL path parameters

Response body

Sample response body

JSON

Update payment source

Action: PUT
Endpoint: /credit/paymentsources/{token}
Update details of a payment source.

URL path parameters

Request body

Sample request body

JSON

Response body

Sample response body

JSON