Configuring Wire Transfer
Learn how to configure Wire Transfer for DigitalRiver.js with Elements.
Step 1: Build a Wire Transfer source request object
Field
Value
Step 2: Create a Wire Transfer source using DigitalRiver.js
var data = {
"type": "wireTransfer",
"sessionId": "ea03bf6f-84ef-4993-b1e7-b7d5ecf71d1f",
"owner": {
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phoneNumber": "1555000000",
"address": {
"line1": "123 Main Street",
"line2": "",
"city": "Minnetonka",
"state": "MN",
"postalCode": "55343",
"country": "US"
}
},
"wireTransfer": {
}
}
digitalriver.createSource(data).then(function(result) {
if (result.error) {
//handle errors
} else {
var source = result.source;
//send the source to the back end
sendToBackend(source);
}
});Wire Transfer Source response example
Step 3: Use the authorized source
Step 4: Direct your customer to go to their banking institution
Last updated