Search…
Wire Transfer
Wire Transfer is an offline payment method where a consumer goes to their bank to send the money.
When using this payment method, a customer must provide their bank with transfer information provided by the merchant to complete the payment. The transfer details consist of the account holder, bank name, city, country description, payment reference, bank account number, additional bank information, and the international bank account number (IBAN).

Configuring Wire Transfer for DigitalRiver.js

Create a Wire Transfer payment method for your app or website in four easy steps:

Step 1: Build a Wire Transfer source request object

Build a Wire Transfer Source Request object. A Wire Transfer Source Request object requires the following fields.
Field
Value
type
wireTransfer
sessionId
The payment session identifier.
owner
wireTransfer
A Wire Transfer object. (This is currently empty)

Step 2: Create a Wire Transfer source using DigitalRiver.js

Use the DigitalRiver.js library to create and mount elements to the HTML container.
1
var data = {
2
"type": "wireTransfer",
3
"sessionId": "ea03bf6f-84ef-4993-b1e7-b7d5ecf71d1f",
4
"owner": {
5
"firstName": "John",
6
"lastName": "Doe",
7
"email": "[email protected]",
8
"phoneNumber": "1555000000",
9
"address": {
10
"line1": "123 Main Street",
11
"line2": "",
12
"city": "Minnetonka",
13
"state": "MN",
14
"postalCode": "55343",
15
"country": "US"
16
}
17
},
18
"wireTransfer": {
19
}
20
}
21
22
digitalriver.createSource(data).then(function(result) {
23
if (result.error) {
24
//handle errors
25
} else {
26
var source = result.source;
27
//send source to back end
28
sendToBackend(source);
29
}
30
});
Copied!

Wire Transfer Source response example

Source response
1
{
2
"clientId": "gc",
3
"channelId": "drdod15",
4
"liveMode": false,
5
"id": "14381d1c-8bff-4350-aeea-82b36f3a196c",
6
"sessionId": "ea03bf6f-84ef-4993-b1e7-b7d5ecf71d1f",
7
"clientSecret": "14381d1c-8bff-4350-aeea-82b36f3a196c_14381d1sdfsdfc-8bff-4350-aeea-82b36f3a196c",
8
"type": "wireTransfer",
9
"reusable": false,
10
"owner": {
11
"firstName": "John",
12
"lastName": "Doe",
13
"email": "[email protected]",
14
"phoneNumber": "1555000000",
15
"address": {
16
"line1": "123 Main Street",
17
"line2": "",
18
"city": "Minnetonka",
19
"state": "MN",
20
"country": "US",
21
"postalCode": "55343"
22
}
23
},
24
"amount": "100.00",
25
"currency": "USD",
26
"state": "pending_funds",
27
"creationIp": "209.87.178.4",
28
"createdTime": "2019-05-22T01:52:40.965Z",
29
"updatedTime": "2019-05-22T01:52:40.965Z",
30
"flow": "receiver",
31
"wireTransfer": {
32
"accountHolder": "Netgiro Payments AB",
33
"bankName": "ABN AMRO Bank N.V.",
34
"city": "Prague",
35
"country": "ES",
36
"referenceId": "DR1651067521",
37
"accountNumber": "0100037259",
38
"additionalBankInformation": "Codigo de oficina: 0001 Codigo de entidad: 0156 Digitos de control: 09",
39
"iban": "ES35 0156 0001 0901 0003 7259"
40
}
41
}
Copied!

Step 3: Use the authorized source

Once authorized, you can use the source by attaching it to a cart.
POST /v1/shoppers/me/carts/active/apply-payment-method
1
{
2
"paymentMethod": {
3
"sourceId": "e7ba0595-059c-460c-bad8-2812123b9313"
4
}
5
}
Copied!

Step 4: Direct your customer to go to their banking institution

Once the customer submits the order, the source remains in the pending_funds state. Direct your customer to go to their banking institution to wire the money to the account details listed in the wireTransfer block of your source.
Source response
1
{
2
"source": {
3
"clientId": "gc",
4
"channelId": "paylive",
5
"liveMode": false,
6
"id": "f51a7ac8-4d97-4579-bc38-1db3abe01cf5",
7
"sessionId": "ea03bf6f-84ef-4993-b1e7-b7d5ecf71d1f",
8
"clientSecret": "f51a7ac8-4d97-4579-bc38-1db3abe01cf5_a654d22d-cdb3-4ad2-9f00-7b316cab6595",
9
"type": "wireTransfer",
10
"reusable": false,
11
"owner": {
12
"firstName": "John",
13
"lastName": "Doe",
14
"email": "[email protected]",
15
"phoneNumber": "1555000000",
16
"address": {
17
"line1": "123 Main Street",
18
"line2": "",
19
"city": "Minnetonka",
20
"state": "MN",
21
"country": "US",
22
"postalCode": "55343"
23
}
24
},
25
"paymentId": "b95cce28-f7bf-4818-a305-9382745d1f2b",
26
"amount": "468.94",
27
"currency": "USD",
28
"state": "pending_funds",
29
"upstreamId": "805335310080",
30
"creationIp": "75.73.13.76",
31
"createdTime": "2020-12-30T20:35:08.61Z",
32
"updatedTime": "2020-12-30T20:35:08.746Z",
33
"expirationTime": "2021-01-29T20:35:08.61Z",
34
"flow": "receiver",
35
"browserInfo": {
36
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36",
37
"acceptHeader": "application/json, text/plain, */*",
38
"language": "en-US",
39
"colorDepth": 24,
40
"screenHeight": 960,
41
"screenWidth": 1707,
42
"timeZoneOffset": 360,
43
"javaEnabled": false,
44
"browserIp": "75.73.13.76",
45
"referrer": "https://js.digitalriverws.com/v1/components/controller/controller.html?componentId=controller-89303efc-de83-41b7-a892-c6c631c2ff49"
46
},
47
"wireTransfer": {
48
"accountHolder": "Global Collect BV",
49
"bankName": "Rabobank N.A.",
50
"city": "Ontario USA",
51
"country": "United States",
52
"referenceId": "890703719099",
53
"accountNumber": "0487369908",
54
"additionalBankInformation": "ABA|122238420||Address|WESTLAKE VILLAGE, 2663 TOWNSGATE RD",
55
"swiftCode": "RABOUS66XXX"
56
}
57
},
58
"readyForStorage": false
Copied!

Supported markets

For information on supported markets and currencies for Drop-in and DigitalRiver.js, go to:
Last modified 28d ago