Transfers

Transfers represent the building blocks of our API. Our Transfer API is an incredibly versatile way of moving and converting funds within platform connected accounts and wallets.

You can specify differing source and destination currencies and the funds will automatically exchanged into the appropriate currency in our backend. The destination of funds is established by defining the SRN of a beneficiary account, wallet, paymentmethod, bitcoin or ethereum address.

Anytime you want to move funds around on the Wyre platform you will create a Transfer. The Transfer will go through a number of states as funds are moved to the destination of your choice.

{
    "id": "TF-4F3HRUYPNFY",
    "sourceAmount": 200,
    "sourceCurrency": "USD",
    "destAmount": 1370,
    "destCurrency": "CNY",
    "status": "COMPLETED",
    "message": "",
    "customId": null,
    "exchangeRate": 7.0000000028,
    "createdAt": 1541552388000,
    "fees": {
        "USD": 4.29,
        "CNY": 0
    },
    "totalFees": 4.29,
    "completedAt": 1541552388000,
    "cancelledAt": null,
    "failureReason": null,
    "expiresAt": 1541553288000,
    "reversingSubStatus": null,
    "reversalReason": null,
    "pendingSubStatus": null,
    "dest": "paymentmethod:PA-2NEWWDDVLFJ",
    "blockchainTx": null,
    "statusHistories": [
        {
            "id": "N88AFATLRZY",
            "transferId": "TF-4F3HRUYPNFY",
            "createdAt": 1541552388000,
            "type": "OUTGOING",
            "statusOrder": 0,
            "statusDetail": "Initiating Transfer",
            "state": "INITIATED",
            "failedState": null
        },
        {
            "id": "PED3FNLNUV7",
            "transferId": "TF-4F3HRUYPNFY",
            "createdAt": 1541552388000,
            "type": "OUTGOING",
            "statusOrder": 200,
            "statusDetail": "Processing Exchange",
            "state": "PENDING",
            "failedState": null
        }
    ],
    "owner": "account:AC-WYUR7ZZ6UMU",
    "source": "account:AC-WYUR7ZZ6UMU"
}