|
@@ -1,4 +1,4 @@
|
|
|
-# Revolur Card API
|
|
|
+# Revolut Card API
|
|
|
## Base address
|
|
|
https://app.revolut.com/api/revolut-secure/retail
|
|
|
## Headers
|
|
@@ -285,7 +285,7 @@ Get card secret details: pan, cvv, expiration date. The pan and the cvv are encr
|
|
|
"Authorization": <owner id>:<access token>
|
|
|
}
|
|
|
```
|
|
|
-
|
|
|
+
|
|
|
#### Response
|
|
|
```
|
|
|
{
|
|
@@ -294,6 +294,27 @@ Get card secret details: pan, cvv, expiration date. The pan and the cvv are encr
|
|
|
"expiry":{"month":<month>,"year":<year>}
|
|
|
}
|
|
|
```
|
|
|
-
|
|
|
+
|
|
|
+### POST /my-card/issue/virtual
|
|
|
+#### Description
|
|
|
+Create a new virtual card. Design is an enum and must match the card type (there are virtual designs and disposable designs).
|
|
|
+#### Headers
|
|
|
+```
|
|
|
+{
|
|
|
+ "Authorization": <owner id>:<access token>
|
|
|
+}
|
|
|
+```
|
|
|
+#### Request
|
|
|
+```
|
|
|
+{
|
|
|
+ design: "<color>_VIRTUAL",
|
|
|
+ label: "<label>",
|
|
|
+ disposable: false
|
|
|
+}
|
|
|
+```
|
|
|
+#### Response
|
|
|
+Card object, same as `/my-card/all`.
|
|
|
+
|
|
|
## TODO
|
|
|
Support for card termination, issue, freeze, unfreeze, labeling, and creation is quite simple too.
|
|
|
+
|