OVPAY-1742 - Improved examples for /transfer.
This commit is contained in:
parent
a58971d1c9
commit
8da955c5cf
@ -2581,26 +2581,37 @@ paths:
|
||||
$ref: "#/components/schemas/TransferRequest"
|
||||
examples:
|
||||
Transfer of a token without PAD to an existing OVpay token:
|
||||
summary: Transfer of a token without PAD to an existing OVpay token
|
||||
description: |
|
||||
Transfer of a token without PAD to an existing OVpay token.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": {},
|
||||
"newOvPayToken":
|
||||
{
|
||||
"ovPayTokenId": 2,
|
||||
"alias": "MyToken"
|
||||
}
|
||||
}
|
||||
Transfer of a token without PAD to a new OVpay token by xTAT:
|
||||
summary: Transfer of a token without PAD to a new OVpay token by xTAT
|
||||
description: |
|
||||
Transfer of a token without PAD to a new OVpay token by xTAT.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": {},
|
||||
"newOvPayToken":
|
||||
{
|
||||
"xTat": "e7fa3392-646b-40e2-95a6-c417dc0b0969",
|
||||
"alias": "MyToken",
|
||||
"alias": "My new token",
|
||||
},
|
||||
}
|
||||
Transfer of a token with PAD to an existing OVpay token without existing PAD:
|
||||
summary: Transfer of a token with PAD to an existing OVpay token without existing PAD
|
||||
description: |
|
||||
Transfer of a token with PAD to an existing OVpay token without existing PAD.
|
||||
Note how this request is different, since it has an e-mail address on which the new
|
||||
PAD should be created. This request may optionally provide an OTP for
|
||||
verification of th provided email address.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": { "padOtp": "123456" },
|
||||
@ -2608,10 +2619,13 @@ paths:
|
||||
{
|
||||
"ovPayTokenId": 2,
|
||||
"padEmailAddress": "jandevries@outlook.com",
|
||||
"alias": "MyToken",
|
||||
"padOtp": "678901",
|
||||
},
|
||||
}
|
||||
Transfer of a token with PAD to an existing OVpay token with existing PAD:
|
||||
summary: Transfer of a token with PAD to an existing OVpay token with existing PAD
|
||||
description: |
|
||||
Transfer of a token with PAD to an existing OVpay token with existing PAD.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": { "padOtp": "123456" },
|
||||
@ -2619,30 +2633,37 @@ paths:
|
||||
{
|
||||
"ovPayTokenId": 2,
|
||||
"padOtp": "678901",
|
||||
"alias": "MyToken"
|
||||
},
|
||||
}
|
||||
Transfer of a token with PAD to a new token by xTAT without existing PAD with e-mail verification by OTP:
|
||||
Transfer of a token with PAD to a new token by xTAT without existing PAD:
|
||||
summary: Transfer of a token with PAD to a new token by xTAT without existing PAD
|
||||
description: |
|
||||
Transfer of a token with PAD to a new token by xTAT without existing PAD.
|
||||
Note how this request is different, since it has an e-mail address on which the new
|
||||
PAD should be created. This request may optionally provide an OTP for
|
||||
verification of th provided email address.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": { "padOtp": "123456" },
|
||||
"newOvPayToken":
|
||||
{
|
||||
"xtat": "e7fa3392-646b-40e2-95a6-c417dc0b0969",
|
||||
"alias": "MyToken",
|
||||
"alias": "My new token",
|
||||
"padEmailAddress": "jandevries@outlook.com",
|
||||
"padOtp": "678901",
|
||||
},
|
||||
}
|
||||
Transfer of a token with PAD to a new token by SRID and amount, with existing PAD:
|
||||
Transfer of a token with PAD to a new token by xTAT with existing PAD:
|
||||
summary: Transfer of a token with PAD to a new token by xTAT with existing PAD
|
||||
description: |
|
||||
Transfer of a token with PAD to a new token by xTAT with existing PAD.
|
||||
value:
|
||||
{
|
||||
"oldOvPayToken": { "padOtp": "123456" },
|
||||
"newOvPayToken":
|
||||
{
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 230,
|
||||
"alias": "MyToken",
|
||||
"xtat": "e7fa3392-646b-40e2-95a6-c417dc0b0969",
|
||||
"alias": "My new token",
|
||||
"padOtp": "678901",
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user