Add card creation
This commit is contained in:
parent
ddda13d8a3
commit
37e81f59b0
23
README.md
23
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
|
||||||
@ -295,5 +295,26 @@ Get card secret details: pan, cvv, expiration date. The pan and the cvv are encr
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 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