Charges a user via a saved payment account.
object User details. | |
object Object containing purchase settings. | |
object Object containing purchase details. | |
object You can pass additional parameters in the token in the |
Created.
Unprocessable Entity.
{- "card": {
- "cvn": "123"
}, - "purchase": {
- "description": {
- "value": "currency purchase"
}, - "virtual_currency": {
- "quantity": 100
}
}, - "settings": {
- "currency": "USD",
- "external_id": "ext123",
- "save": true
}, - "user": {
- "id": "user123",
- "ip": "111.11.11.11",
- "name": "John Smith",
- "legal": {
- "name": "My Awesome Company",
- "address": "17 Crown Street London SW2 0JW United Kingdom",
- "vat_id": "GB111111111",
- "country": "GB"
}
}
}
{- "transaction_id": 123458390
}