1 | module.exports = {
|
2 | valid: {
|
3 | destination: {
|
4 | amount: 5.00,
|
5 | currency: 'USD',
|
6 | address: 'rHXcECnhu9JwNphxqzRDU76iydhGEftWtU'
|
7 | },
|
8 | source : {
|
9 | address: 'rwXNHZD4F6SzyE2yXhjhHZhLzMxtcXLSvt',
|
10 | currencies: ['BTC']
|
11 | }
|
12 | },
|
13 | invalid: {
|
14 | destination_amount: {
|
15 | destination: {
|
16 | currency: 'USD',
|
17 | address: 'rHXcECnhu9JwNphxqzRDU76iydhGEftWtU'
|
18 | },
|
19 | source : {
|
20 | address: 'rwXNHZD4F6SzyE2yXhjhHZhLzMxtcXLSvt'
|
21 | }
|
22 | },
|
23 | destination_currency: {
|
24 | destination : {
|
25 | amount: 5.00,
|
26 | currency: 'USD1',
|
27 | address: 'rHXcECnhu9JwNphxqzRDU76iydhGEftWtU'
|
28 | },
|
29 | source : {
|
30 | address: 'rwXNHZD4F6SzyE2yXhjhHZhLzMxtcXLSvt'
|
31 | }
|
32 | },
|
33 | destination_address: {
|
34 | destination: {
|
35 | amount: 5.00,
|
36 | currency: 'USD',
|
37 | address: 'r132321'
|
38 | },
|
39 | source : {
|
40 | address: 'rwXNHZD4F6SzyE2yXhjhHZhLzMxtcXLSvt'
|
41 | }
|
42 | },
|
43 | source_address: {
|
44 | destination: {
|
45 | amount: 5.00,
|
46 | currency: 'USD',
|
47 | address: 'rHXcECnhu9JwNphxqzRDU76iydhGEftWtU'
|
48 | },
|
49 | source : {
|
50 | address: 'r132321'
|
51 | }
|
52 | }
|
53 | },
|
54 | ripple_rest_response: {
|
55 | valid: {
|
56 | success: true,
|
57 | payments: [
|
58 | {
|
59 | source_account: 'rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn',
|
60 | source_tag: '',
|
61 | source_amount: {
|
62 | value: '1',
|
63 | currency: 'USD',
|
64 | issuer: 'rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn'
|
65 | },
|
66 | source_slippage: '0',
|
67 | destination_account: 'ra5nK24KXen9AHvsdFTKHSANinZseWnPcX',
|
68 | destination_tag: '',
|
69 | destination_amount: {
|
70 | value: '1',
|
71 | currency: 'USD',
|
72 | issuer: 'rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn'
|
73 | },
|
74 | invoice_id: '',
|
75 | paths: '[[{\'account\':\'rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\',\'type\':1,\'type_hex\':\'0000000000000001\'},{\'currency\':\'XRP\',\'type\':16,\'type_hex\':\'0000000000000010\'},{\'currency\':\'USD\',\'issuer\':\'rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc\',\'type\':48,\'type_hex\':\'0000000000000030\'},{\'account\':\'rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc\',\'type\':1,\'type_hex\':\'0000000000000001\'}],[{\'account\':\'rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\',\'type\':1,\'type_hex\':\'0000000000000001\'},{\'currency\':\'BTC\',\'issuer\':\'rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun\',\'type\':48,\'type_hex\':\'0000000000000030\'},{\'account\':\'rLEsXccBGNR3UPuPu2hUXPjziKC3qKSBun\',\'type\':1,\'type_hex\':\'0000000000000001\'},{\'currency\':\'USD\',\'issuer\':\'rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc\',\'type\':48,\'type_hex\':\'0000000000000030\'},{\'account\':\'rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc\',\'type\':1,\'type_hex\':\'0000000000000001\'}],[{\'account\':\'rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q\',\'type\':1,\'type_hex\':\'0000000000000001\'},{\'account\':\'rnziParaNb8nsU4aruQdwYE3j5jUcqjzFm\',\'type\':1,\'type_hex\':\'0000000000000001\'},{\'account\':\'rsP3mgGb2tcYUrxiLFiHJiQXhsziegtwBc\',\'type\':1,\'type_hex\':\'0000000000000001\'}]]',
|
76 | partial_payment: false,
|
77 | no_direct_ripple: false
|
78 | }
|
79 | ]
|
80 | }
|
81 | }
|
82 | };
|