Open genelynancheta opened 3 years ago
@genelynancheta The correct format should be as the following:
destinations: {
"destinations": {
"amount": 20.2,
"currency": "BHD",
"count": 1,
"destination": [
{
"id": "id_value",
"amount": 2.2,
"currency": "BHD",
"description": "description",
"reference": "reference"
}
]
}
},
Thanks for your response. I did it as mentioned and though the transaction shows on our Statement, it doesn't seem to be transferring to the destination. Attached is how this has been coded on our app. Am I missing something here? Or does this destination format something that is introduced in later versions?
react: 16.13.1 react-native: 0.63.3 @tap-payments/gosell-sdk-react-native: 1.0.4
Is the “destinations” supported and something where we can pass the destination id? We are transferring the amount to our providers and have this working on Web SDK. We have initially implemented using React Native SDK but it looks like it’s not doing the transfer process.
"destinations": { "destination": [ { "id": "480593", "amount": 2, "currency": "KWD" }, { "id": "486374", "amount": 3, "currency": "KWD" } ] },