payment
associated with the account is created, along with one transaction
with SepaCreditTransferIn
type. The payment is instantly available through the web banking interface or the API.{{YOUR_ACCOUNT_ID}}
with your account id.consent
for the user that they validate using their smartphone. initiateCreditTransfer
mutation. The API lets you make one payment
with multiple transaction
to differents accounts at the same time. To call this mutation, you need to use a User Access Token. We will ask the user to consent to the payment
. There is only one consent per payment, regardless of the number of transactions linked to the payment. Replace {{YOUR_ACCOUNT_NUMBER}}
with the account number from which you want to initiate the payment and fill {{YOUR_REDIRECT_URL}}
with the URL you want to redirect the user to.consentUrl
. Once the consent is done you'll find the payment and the two associated transactions in the API.refund
mutation. Just enter the amount you want to refund. This creates a new transaction linked to the same payment. It's possible to handle multiple transactions at once.{{YOUR_TRANSACTION_ID}}
with the transaction ID you want to refund and {{YOUR_REDIRECT_URL}}
with the URL you want to redirect the user to.targetAvailableBalance
.amount
. Swan will make a recurring payment at the interval you set. If there is not enough money it will be refused for InsufficientFunds
scheduleStandingOrder
mutation. Replace {{YOUR_ACCOUNT_ID}}
and {{YOUR_REDIRECT_URL}}
with the URL you want to redirect the user to.