Credit cards
Get all credit cards
Returns all credit cards, possibly filtered by identifiers, Customers or other filters. Note this operation uses Pagination and supports Portfolio Access Tokens.
Request
[PlatformAddress]/api/connector/v1/creditCards/getAll
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of string | optional, max 1000 items | Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token. |
| array of string | optional, max 1000 items | Unique identifiers of the Credit cards. Required if no other filter is provided. |
| array of string | optional, max 1000 items | Unique identifiers of the Customers. |
| optional, max length 3 months | Interval in which Credit card was updated. | |
| required | Limitation on the quantity of data returned. |
Response
Property | Type | Contract | Description |
---|---|---|---|
CreditCards | array of Credit cards | required | The credit cards. |
| string | optional | Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned. |
Credit card
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the credit card. |
| string | required | Unique identifier of the Enterprise. |
| string | required | Unique identifier of the credit card owner. |
| string | required | Creation date and time of the credit card in UTC timezone in ISO 8601 format. |
| string | required | Last update date and time of the credit card in UTC timezone in ISO 8601 format. |
| string | optional | Expiration of the credit card in format |
| boolean | required | Whether the credit card is still active. |
| string | optinal | Obfuscated credit card number. At most first six digits and last four digits can be specified, otherwise the digits are replaced with |
| string Credit card format | required | Format of the credit card. |
| string Credit card kind | required | Kind of the credit card. |
| string Credit card state | required | State of the credit card. |
| string Credit card type | required | Type of the credit card. |
Credit card format
Physical
Virtual
Credit card kind
Terminal
Gateway
Credit card state
Enabled
Disabled
Credit card type
MasterCard
,Visa
,Amex
,Maestro
,Discover
,VPay
, ...
Charge credit card
Creates payment for specified customer credit card and charges the credit card via a gateway. Note that the kind of the card has to be Gateway
.
Request
[PlatformAddress]/api/connector/v1/creditCards/charge
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| string | required | Unique identifier of the Credit card. |
| string | optional | Unique identifier of the reservation the payment belongs to. |
| required | Amount of the credit card payment. | |
| string | optional | Unique identifier of the Accounting category. |
| string | optional | Identifier of the payment receipt. |
| string | optional | Additional payment notes. |
Response
Property | Type | Contract | Description |
---|---|---|---|
PaymentId | string | required | Unique identifier of the Payment item. |
Add tokenized credit card
Adds a new tokenized credit card to the specified customer. To be able to use this operation special permission has to be granted during certification.
Request
[PlatformAddress]/api/connector/v1/creditCards/addTokenized
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| string | required | Unique identifier of the Customer. |
| required | Credit card details provided by PCI provider. |
Credit card data
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Identifier of credit card data in PCI storage ( |
| string | required | Expiration of the credit card in format |
Response
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the Credit card. |
Last updated