Marqeta peer transfers API
The peer transfers API from Marqeta — 5 operation(s) for peer transfers.
The peer transfers API from Marqeta — 5 operation(s) for peer transfers.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/marqeta-peer-transfers-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: support@marqeta.com
name: Marqeta
description: Marqeta's Core API endpoints, conveniently annotated to enable code generation (including SDKs), test cases, and documentation. Currently in beta.
termsOfService: https://www.marqeta.com/api-terms
title: Core peer transfers API
version: 3.0.39
servers:
- url: /v3
security:
- mqAppAndAccessToken: []
tags:
- name: peer transfers
paths:
/peertransfers:
post:
operationId: postPeertransfers
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_request'
required: false
responses:
'201':
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_response'
description: Success
'400':
content: {}
description: 'Invalid fields detected: either sender or recipient is not found'
'409':
content: {}
description: Request already processed with a different payload
'422':
content: {}
description: Rule violations
'500':
content: {}
description: Server error
summary: Performs a peer transfer from one user to another
tags:
- peer transfers
/peertransfers/user/{user_or_business_token}:
get:
operationId: getPeertransfersUserUserorbusinesstoken
parameters:
- description: User or business token
explode: false
in: path
name: user_or_business_token
required: true
schema:
type: string
style: simple
- description: Number of transfers to retrieve
explode: true
in: query
name: count
required: false
schema:
default: 25
format: int32
type: integer
style: form
- description: Start index
explode: true
in: query
name: start_index
required: false
schema:
default: 0
format: int32
type: integer
style: form
- description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
explode: true
in: query
name: fields
required: false
schema:
type: string
style: form
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_response'
description: Success
'400':
content: {}
description: User input error/Bad request
'500':
content: {}
description: Server error
summary: Returns all peer transfers for a user
tags:
- peer transfers
/peertransfers/user/{user_or_business_token}/recipient:
get:
operationId: getPeertransfersUserUserorbusinesstokenRecipient
parameters:
- description: User or business token
explode: false
in: path
name: user_or_business_token
required: true
schema:
type: string
style: simple
- description: Number of transfers to retrieve
explode: true
in: query
name: count
required: false
schema:
default: 25
format: int32
type: integer
style: form
- description: Start index
explode: true
in: query
name: start_index
required: false
schema:
default: 0
format: int32
type: integer
style: form
- description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
explode: true
in: query
name: fields
required: false
schema:
type: string
style: form
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_response'
description: Success
'404':
content: {}
description: User token not found
'500':
content: {}
description: Server error
summary: Returns received peer transfers for a user
tags:
- peer transfers
/peertransfers/user/{user_or_business_token}/sender:
get:
operationId: getPeertransfersUserUserorbusinesstokenSender
parameters:
- description: User or business token
explode: false
in: path
name: user_or_business_token
required: true
schema:
type: string
style: simple
- description: Number of transfers to retrieve
explode: true
in: query
name: count
required: false
schema:
default: 25
format: int32
type: integer
style: form
- description: Start index
explode: true
in: query
name: start_index
required: false
schema:
default: 0
format: int32
type: integer
style: form
- description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
explode: true
in: query
name: fields
required: false
schema:
type: string
style: form
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_response'
description: Success
'400':
content: {}
description: User input error/Bad request
'500':
content: {}
description: Server error
summary: Returns sent peer transfers for a user
tags:
- peer transfers
/peertransfers/{token}:
get:
operationId: getPeertransfersToken
parameters:
- explode: false
in: path
name: token
required: true
schema:
type: string
style: simple
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/peer_transfer_response'
description: Success
'404':
content: {}
description: Transfer token not found
'500':
content: {}
description: Server error
summary: Returns details of a previous transfer
tags:
- peer transfers
components:
schemas:
peer_transfer_request:
properties:
amount:
type: number
currency_code:
type: string
memo:
maxLength: 99
minLength: 1
type: string
recipient_business_token:
description: Required if 'recipient_business_token' is null
maxLength: 36
minLength: 1
type: string
recipient_user_token:
description: Required if 'recipient_business_token' is null
maxLength: 36
minLength: 1
type: string
sender_business_token:
description: Required if 'send_user_token' is null
maxLength: 36
minLength: 1
type: string
sender_user_token:
description: Required if 'send_business_token' is null
maxLength: 36
minLength: 1
type: string
tags:
maxLength: 255
minLength: 1
type: string
token:
maxLength: 36
minLength: 1
type: string
required:
- amount
- currency_code
type: object
peer_transfer_response:
description: Contains information about an intra-account transfer, including sender and recipient tokens, transfer amount, and currency code.
properties:
amount:
description: Amount of the transfer.
type: number
created_time:
format: date-time
type: string
currency_code:
description: Three-digit ISO 4217 currency code.
type: string
memo:
description: Additional descriptive text about the intra-account transfer.
type: string
recipient_business_token:
description: Specifies the business account holder that receives funds.
type: string
recipient_user_token:
description: Specifies the user account holder that receives funds.
type: string
sender_business_token:
description: Specifies the business account holder that sends funds.
type: string
sender_user_token:
description: Specifies the user account holder that sends funds.
type: string
tags:
description: Metadata about the intra-account transfer.
type: string
token:
description: Unique identifier of the intra-account transfer request.
type: string
required:
- amount
- created_time
- currency_code
- token
type: object
securitySchemes:
mqAppAndAccessToken:
scheme: basic
type: http