cc-tracking/tasks/archive/comcarde/bridge-1138/do.md
2019-05-21 16:40:16 +01:00

74 lines
1.0 KiB
Markdown

```
Bearer YTM2ZGQ1NzUtOWFmNS01MjMyLTg5MjYtM2NkZjA5ZDU2ZGU1
```
Payee Account
```
{
"description": "Silver Carpenter Inc. account.",
"receivingAccountServiceKey": "T_S_7c8551db-2aa0-489d-b80e-d1a8d42e4bfb"
}
```
response:
{
"key": "96ecc2d0-750d-452d-980b-2518cd5a34e0",
"ID": "5afd9e0d9043d33a97cbbf95"
}
credit card;
{
"cardUsageKey": "69de2ccb-8e8d-421f-972d-86209d4862cc",
"cardID": "5afd9e329043d33a97cbbf99"
}
Test oit works:
{
"trigger": {
"stage": "paymentComplete",
"type": "ruleIdInRtp"
},
"rule": {
"payerInstrument": {
"ID": "5afd9e329043d33a97cbbf99",
"key": "69de2ccb-8e8d-421f-972d-86209d4862cc"
},
"payeeID": "79a26d981246978135edadf1",
"percentageShare": 2
}
}
1: do a proper one
{
"ID": "5afda4269677c63b78a810a7"
}
Imporper one:
{
"ID": "5afda59799d1553c66d41eae"
}
{
"cardUsageKey": "f7bdd4c3-65f2-4fe9-8d1b-0d5068c3d5b8",
"cardID": "5afda5ce99d1553c66d41eb1"
}
{
"key": "f7bdd4c3-65f2-4fe9-8d1b-0d5068c3d5b8",
"ID": "5afda5ce99d1553c66d41eb1"
}