Get information about an International Credit Transfer
When Swan receives an incoming International Credit Transfer, Swan books it immediately and creates a InternationalCreditTransferTransaction
type (step 8 in the standard flow for incoming transfers).
Guide​
- Call the
transaction
query. - Add the transaction ID for the incoming International Credit Transfer.
- Add the information you want to review.
Query​
🔎 Open the query in API Explorer
query IncomingInternationalCreditTransfer {
transaction(id: "$INCOMING_TRANSACTION_ID") {
... on InternationalCreditTransferTransaction {
amount { #amount credited to the Swan user's account
currency
value
}
counterparty #name of the counterparty
currencyExchange {
exchangeRate
}
debtor {
currency
details {
key
value
}
name
route
}
instructedAmount { #amount the debtor sent in their original currency when initiating the transfer
currency
value
}
intermediaryBankFees { #list of all fees charged by intermediary banks (doesn't include Swan)
currency
value
}
side
}
}
}
Payload​
Review the information provided in the payload about the incoming International Credit Transfer.
{
"data": {
"transaction": {
"amount": {
"currency": "EUR",
"value": "850.00"
},
"counterparty": "Debtor",
"currencyExchange": {
"exchangeRate": "1.05263"
},
"debtor": {
"currency": "GBP",
"details": [
{
"key": "legalType",
"value": "BUSINESS"
},
{
"key": "Iban",
"value": "GB12345678901234567890"
}
],
"name": "My debtor",
"route": "SwiftCode",
"instructedAmount": {
"currency": "GBP",
"value": "1000.00"
},
"intermediaryBankFees": [
{
"value": "50.00",
"currency": "GBP"
},
{
"value": "100.00",
"currency": "EUR"
},
{
"value": "50.00",
"currency": "EUR"
}
],
"side": "credit"
}
}
}
}