Closed nunorafaelrocha closed 8 years ago
Uphold API has introduced a (breaking change)[https://uphold.com/en/developer/blog/posts/api-changes/breaking-change-regarding-crypto-addresses-on-uphold-cards] by not adding automatically a crypto address to a new card. This now must be done manually.
This PR adds createCryptoAddress method to Card model and updates it's tests and examples. It also adds addAddress private method so that we can add a new address to the addresses list.
createCryptoAddress
addAddress
Uphold API has introduced a (breaking change)[https://uphold.com/en/developer/blog/posts/api-changes/breaking-change-regarding-crypto-addresses-on-uphold-cards] by not adding automatically a crypto address to a new card. This now must be done manually.
This PR adds
createCryptoAddress
method to Card model and updates it's tests and examples. It also addsaddAddress
private method so that we can add a new address to the addresses list.