Transfer
Last updated
Last updated
API provides the following ways to work with payments:
As a best practice please rely on the following transfer routes inside 1 Counterparty:
from identification to processing entity;
from bank processing entity to customer;
from customer to customer;
from processing to identification entity;
from customer to bank processing entity.
For external transfers (2 counterparties) the following transfer types are advised:
from your processing entity to a processing entity of another Counterparty;
from your customer counterparty to a customer of another Counterparty.
Using the parameter hash
you can see this operation in Stellar.Expert.
The transfer is done with 2 steps: first, you need to create a draft record with "Create payment". When it is done a confirmation is required.
After creating a transfer you should confirm the transfer.
Before the confirmation be sure that the transfer is already created, the corresponding transfer guid should be used in the request body.
bank_guid
is mandatory only for a transfer to another counterparty.
If you want to get payment list you should make the following request.
Get payments list with filter
Counterparty GUID
Receiver counterparty GUID
Sender counterparty GUID
Payment GUIDs
Payment sender ids
Payment receiver ids
External transaction id
Minimal amount
Maximum amount
Payment statuses
Asset issuers
Asset codes
ISO date
ISO date
ISO date
ISO date
Category's guid
sorting order
offset
limit
Create payment
Counterparty 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
Confirm payment
Counterparty GUID
Counterparty's GUID (receiver's bank). If it is not provided, the payment will be considered an internal transfer.
Payment's GUID