110 lines
2.4 KiB
Markdown
110 lines
2.4 KiB
Markdown
|
Re-authorise with :
|
||
|
|
||
|
```
|
||
|
Bearer YTM2ZGQ1NzUtOWFmNS01MjMyLTg5MjYtM2NkZjA5ZDU2ZGU1
|
||
|
|
||
|
```
|
||
|
|
||
|
Red Taurus Details
|
||
|
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"key": "080a89f1-1fde-4a24-ab9d-3de04a0bf9dc",
|
||
|
"ID": "5ac231e56b7bdbf37d165370"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
Codes
|
||
|
|
||
|
```json
|
||
|
{
|
||
|
"receivecode": "RWXSG"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
|
||
|
|
||
|
{
|
||
|
"receivecode": "RWXSG",
|
||
|
"payerInstrument": {
|
||
|
"ID": "000000000000000000000000",
|
||
|
"key": "00000000-0000-0000-0000-000000000000"
|
||
|
},
|
||
|
"paymentDetails": {
|
||
|
payer: {
|
||
|
email: 'a@b.com',
|
||
|
firstName: 'John',
|
||
|
lastName: 'Doe'
|
||
|
},
|
||
|
card: {
|
||
|
CV2: undefined,
|
||
|
nameOnCard: 'John E Doe',
|
||
|
PAN: '4444 3333 2222 1111',
|
||
|
expiryDate: '01-20',
|
||
|
startDate: '01-00',
|
||
|
issueNumber: 1,
|
||
|
address: {
|
||
|
address1: 'Flat 20',
|
||
|
address2: 'Victoria House',
|
||
|
address3: '15 The Street',
|
||
|
town: 'Christchurch',
|
||
|
county: 'Dorset',
|
||
|
postcode: 'BH23 6AA',
|
||
|
phoneNumber: '+44 123 1110000'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"amount": {
|
||
|
"value": 1
|
||
|
},
|
||
|
"transactionDetails": {
|
||
|
"worldpay": {
|
||
|
"orderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
{
|
||
|
"receivecode": "RWXSG",
|
||
|
"paymentDetails": {
|
||
|
"payer": {
|
||
|
email: 'a@b.com',
|
||
|
firstName: 'John',
|
||
|
lastName: 'Doe'
|
||
|
},
|
||
|
card: {
|
||
|
CV2: undefined,
|
||
|
nameOnCard: 'John E Doe',
|
||
|
PAN: '4444 3333 2222 1111',
|
||
|
expiryDate: '01-20',
|
||
|
startDate: '01-00',
|
||
|
issueNumber: 1,
|
||
|
address: {
|
||
|
address1: 'Flat 20',
|
||
|
address2: 'Victoria House',
|
||
|
address3: '15 The Street',
|
||
|
town: 'Christchurch',
|
||
|
county: 'Dorset',
|
||
|
postcode: 'BH23 6AA',
|
||
|
phoneNumber: '+44 123 1110000'
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"amount": {
|
||
|
"value": 1
|
||
|
},
|
||
|
"transactionDetails": {
|
||
|
"worldpay": {
|
||
|
"orderDescription": "2 Calling Birds, 1 Partridge in a Pear tree"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
/Users/martin/.nvm/versions/node/v8.10.0/bin/node /Users/martin/dev/bridge-node-server/node_server/node_modules/mocha/bin/_mocha --file /Users/martin/dev/bridge-node-server/node_server/test/init_mocha.js --file /Users/martin/dev/bridge-node-server/node_server/tools/test/testGlobals.js --exit --reporter spec --ui bdd /Users/martin/dev/bridge-node-server/node_server/dev_api/controllers/acquirers/worldpay/pay-directly/redeem-receivecode/redeem.spec.js --grep "aquirers\.worldpay\.pay\-directly\.redeem\-receivecode\.redeem "
|