Assume that there is a $100 charge with a $0.50 facilitator fee. When submitting the request_body, I did this:
request_body = {
'_links': {
'source': {'href': source_bank},
'destination': {'href': destination_bank}
},
'amount': {
'currency': 'USD',
'value': '99.50'
},
'fees' : [{
"_links": {
"charge-to": {
"href": "https://api-sandbox.dwolla.com/customers/" + str(dwolla_customer_id)
}
},
"amount": {
"value": '0.50',
"currency": "USD"
}
}]
}
When I received the customer_bank_transfer_completed webhook, the value is 99.00. The resource for this webhook is: https://api-sandbox.dwolla.com/transfers/b65229e4-8ae1-ea11-8126-fb48ed1dda28
This makes me believe that I should not be subtracting the fee from the amount when submitting the transfer - is this correct?