Transfers (branches)
Get the list of transfers for the branch
Get branch payments list with filter
Counterparty GUID
Branch GUID
Receiver counterparty GUID
Sender counterparty GUID
Payment GUIDs
Payment sender ids
Payment receiver ids
Minimal amount
Maximum amount
Payment statuses
Asset issuers
Asset codes
ISO date
ISO date
ISO date
ISO date
Category
sorting order
offset
limit
GET /api/v1/counterparty/{counterparty_guid}/branch/{branch_guid}/payments HTTP/1.1
Host: your_host
Accept: */*
{
"payments": [
{
"amount": 1,
"asset_code": "text",
"asset_issuer": "text",
"category": "text",
"category_guid": "text",
"created_at": "text",
"deleted_at": "text",
"fee": 1,
"guid": "text",
"purpose": "text",
"receiver_account_account_kind": "text",
"receiver_counterparty": "text",
"receiver_id": "text",
"sender_account_account_kind": "text",
"sender_counterparty": "text",
"sender_id": "text",
"status": "CREATED",
"stellar_info": {
"hash": "text"
},
"target_balance": 1,
"updated_at": "text"
}
],
"total": 1
}
Create branch transfer
Create branch payment
Counterparty GUID
Branch GUID
amount of tokens to transfer
asset code
address in Stellar that issues tokens
payment category
IBAN of receiver account
guid of receiver account
IBAN of sender account
guid of sender account
account balance after operation
POST /api/v1/counterparty/{counterparty_guid}/branch/{branch_guid}/payments HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 197
{
"amount": 1,
"asset_code": "text",
"asset_issuer": "text",
"category_guid": "text",
"purpose": "text",
"receiver_iban": "text",
"receiver_id": "text",
"sender_iban": "text",
"sender_id": "text",
"target_balance": 1
}
{
"guid": "text"
}
Confirm branch transfer
Confirm branch payment
Counterparty GUID
Branch GUID
Counterparty's GUID (receiver's bank). If it is not provided, the payment will be considered an internal transfer.
Payment's GUID
POST /api/v1/counterparty/{counterparty_guid}/branch/{branch_guid}/payments/confirm HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 34
{
"bank_guid": "text",
"guid": "text"
}
{}
Get branch transfer
Get branch payments with filter
Counterparty GUID
Branch GUID
Payment GUID
GET /api/v1/counterparty/{counterparty_guid}/branch/{branch_guid}/payments/{payment_guid} HTTP/1.1
Host: your_host
Accept: */*
{
"amount": 1,
"asset_code": "text",
"asset_issuer": "text",
"category": "text",
"category_guid": "text",
"created_at": "text",
"deleted_at": "text",
"fee": 1,
"guid": "text",
"purpose": "text",
"receiver_account_account_kind": "text",
"receiver_counterparty": "text",
"receiver_id": "text",
"sender_account_account_kind": "text",
"sender_counterparty": "text",
"sender_id": "text",
"status": "CREATED",
"stellar_info": {
"hash": "text"
},
"target_balance": 1,
"updated_at": "text"
}
Update branch payment
Counterparty GUID
Branch GUID
Payment GUID
PUT /api/v1/counterparty/{counterparty_guid}/branch/{branch_guid}/payments/{payment_guid} HTTP/1.1
Host: your_host
Content-Type: application/json
Accept: */*
Content-Length: 130
{
"amount": 1,
"asset_code": "text",
"asset_issuer": "text",
"purpose": "text",
"receiver_id": "text",
"sender_id": "text",
"status": "CREATED"
}
{}
Last updated