Skip to main content
POST
/
embedded-banking
/
v1
/
money-movements
/
rtp
Creates an RTP (Real-Time Payments) money movement.
curl --request POST \
  --url https://api.sandbox.tesouro.com/embedded-banking/v1/money-movements/rtp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": 123,
  "fromBankAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "toBankAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "currencyCode": "USD",
  "idempotencyKey": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount": {
    "currencyCode": "<string>",
    "value": 123
  },
  "date": "2023-12-25",
  "fromBankAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "nickname": "<string>"
  },
  "toBankAccount": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "nickname": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Body

Request model for initiating an RTP (Real-Time Payments) money movement.

amount
required

Amount to transfer. Must be greater than 0.

fromBankAccountId
string<uuid>
required

Source bank account identifier.

toBankAccountId
string<uuid>
required

Destination bank account identifier.

currencyCode
string
default:USD

ISO 4217 alphabetic currency code (e.g. USD). Defaults to USD when omitted. Determines the minor unit precision of long RtpMoneyMovementRequest.Amount.

idempotencyKey
null | string

Optional idempotency key for preventing duplicate transfers. Maximum length: 256 characters.

Response

Money movement created successfully.

Response model for a money movement operation.

id
string<uuid>
required

Unique money movement identifier.

amount
object
required

Money movement amount.

date
string<date>
required

Money movement date.

fromBankAccount
object
required

Source bank account information.

network
enum<string>
required

Payment network: BOOK, ACH, RTP, or FED_NOW.

Available options:
BOOK,
ACH,
RTP,
FED_NOW
status
enum<string>
required

Money movement status.

Available options:
PENDING,
COMPLETED,
FAILED
toBankAccount
object
required

Destination bank account information.