Hi @dwollasupport , @DwollaDiscuss , I tried to create a funding source for a customer using an exchange resource
Endpoint: https://api.dwolla.com/customers/{id}/funding-sources
But i received the response below. Please help me to check. Thank you in advanced!
[response] => Array
(
[code] => 400
[reason] => Bad Request
[body] => {"code":"BadRequest","message":"Exchange product invalid for this operation"}
)
Additional Information:
Array
(
[request] => Array
(
[url] => https://api-sandbox.dwolla.com/customers/79523a64-93d4-4ed9-8d88-8655cd29dc5a/funding-sources
[method] => POST
[headers] => Array
(
[User-Agent] => Array
(
[0] => Guzzle/7
)
[Host] => Array
(
[0] => api-sandbox.dwolla.com
)
[X-Requested-With] => Array
(
[0] => XMLHttpRequest
)
[Content-Type] => Array
(
[0] => application/vnd.dwolla.v1.hal+json
)
[Cache-Control] => Array
(
[0] => no-cache
)
[Pragma] => Array
(
[0] => no-cache
)
[Authorization] => Array
(
[0] => Bearer 1c4ajTISbjmYKR2P1nkiU3RkUqrlf5WJ3F7kCYjBTGN2LoYUpR
)
[Accept] => Array
(
[0] => application/vnd.dwolla.v1.hal+json
)
)
[body] => {"_links":{"exchange":{"href":"https:\/\/api-sandbox.dwolla.com\/exchanges\/261c1ede-e5f6-4114-9a30-ef95f5136bc0"}},"bankAccountType":"checking","name":"Jane Doe\u2019s Checking"}
[config] => Array
(
[curl] => Array
(
[10065] => /****/../Resources/cacert.pem
[81] => 2
[64] => 1
[19913] => 1
[52] => 1
[42] =>
)
)
)
[response] => Array
(
[code] => 400
[reason] => Bad Request
[body] => {"code":"BadRequest","message":"Exchange product invalid for this operation"}
)
)