Add card creation
This commit is contained in:
parent
ddda13d8a3
commit
37e81f59b0
27
README.md
27
README.md
@ -1,4 +1,4 @@
|
|||||||
# Revolur Card API
|
# Revolut Card API
|
||||||
## Base address
|
## Base address
|
||||||
https://app.revolut.com/api/revolut-secure/retail
|
https://app.revolut.com/api/revolut-secure/retail
|
||||||
## Headers
|
## 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>
|
"Authorization": <owner id>:<access token>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Response
|
#### 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>}
|
"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
|
## TODO
|
||||||
Support for card termination, issue, freeze, unfreeze, labeling, and creation is quite simple too.
|
Support for card termination, issue, freeze, unfreeze, labeling, and creation is quite simple too.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user