Skip to main content
POST
/
v1
/
transfers
/
cashout
/
initiate
Initiate a Pix Transfer
curl --request POST \
  --url https://plugin-pix-indirect.api.lerian.net/v1/transfers/cashout/initiate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Account-Id: <x-account-id>' \
  --data '
{
  "type": "KEY",
  "amount": "100.00",
  "key": "[email protected]",
  "description": "Payment for services"
}
'
{
  "initiationId": "550e8400-e29b-41d4-a716-44665544i001",
  "destination": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Account-Id
string
required

Unique identifier of the Midaz Ledger Account (UUID format).

Body

application/json
type
enum<string>
required

Initiation type.

Available options:
MANUAL,
KEY,
QR_CODE
Example:

"KEY"

amount
string
required

Transfer amount.

Example:

"100.00"

key
string

Pix key (required for KEY type).

emv
string

QR Code EMV payload (required for QR_CODE type).

description
string

Transfer description.

Example:

"Payment for services"

Response

Pix cash-out initiation created successfully.

initiationId
string

Initiation ID to be used in process.

Example:

"550e8400-e29b-41d4-a716-44665544i001"

destination
object

Validated destination information.