### Parameters

| Parameter                 | Type         | Required |  
|---------------------------|--------------|----------|  
| user_id                   | UUID!       | true     |  
| entity_id                 | UUID!       | true     |  
| source_amount             | String      | false    |  
| wallet_id                 | UUID        | false    |  
| destination_amount        | String      | false    |  
| account_id                | UUID        | false    |  
| beneficiary_id            | UUID!       | true     |  
| purpose_of_payment        | String!     | true     |  
| reference                 | String      | false    |

query  
string

Defaults to {}

# ``200      200

object

data  
object

updateTransfer  
string

# ``400      400

```javascript
// mutation updateTransfer

var axios = require('axios');

var data = JSON.stringify({  
  query: `mutation updateTransfer ($transfer_id: UUID!, $user_id: UUID!, $entity_id: UUID, $wallet_id: UUID, $source_currency: ISO4217, $account_id: UUID, $beneficiary_id: UUID, $purpose_of_payment: String, $reference: String) {  
    updateTransfer (transfer_id: $transfer_id, user_id: $user_id, entity_id: $entity_id, wallet_id: $wallet_id, source_currency: $source_currency, account_id: $account_id, beneficiary_id: $beneficiary_id, purpose_of_payment: $purpose_of_payment, reference: $reference)  
}`,
  variables: {"transfer_id":"18ea46e5-2c36-4862-9eac-adc44364df7b","user_id":"28291265-e6f7-488c-94c4-5905bbcf779a"}  
});

var config = {  
  method: 'post',  
  url: 'https://sandbox.external.routefusion.com/graphql',  
  headers: {  
    'Authorization': 'Bearer <your token>',  
    'Content-Type': 'application/json'  
  },  
  data : data  
};

axios(config)  
.then(function (response) {  
  console.log(JSON.stringify(response.data));  
})  
.catch(function (error) {  
  console.log(error);  
});  
```

```json
{
  "data": {
    "updateTransfer": "18ea46e5-2c36-4862-9eac-adc44364df7b"
  }
}
```
