Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
POST | /ksiPaymentCards | Get all Credit, Debit and KSI cards. If event id is provided tham KSI cards will be filtered on valid cards for this event | Special for KSI games |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EventId | body | int? | No | |
PhoneVerificationNumber | body | string | No | |
DeviceId | body | string | No | |
RequestUnixUTCTimeStamp | body | long | No | |
Signature | body | RequestSignature | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SystemId | form | string | No | |
SystemSecret | form | string | No | |
Signature | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Cards | form | List<BorgunSavedCards> | No | |
KsiCards | form | List<KsiCards> | No | |
StatusCode | form | int | No | |
Message | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CreationDate | form | DateTime? | No | |
LastTokenDate | form | DateTime? | No | |
isDebit | form | bool? | No | |
PhoneVerificationNumber | form | string | No | |
DeviceId | form | string | No | |
VirtualCardNumber | form | string | No | |
PanLastFour | form | string | No | |
ExpYear | form | string | No | |
ExpMonth | form | string | No | |
Token | form | string | No | |
CardType | form | string | No | |
DeletedByUser | form | bool? | No | |
DeletedFromOrigin | form | bool? | No | |
DateDeletedByUser | form | DateTime? | No | |
DateDeletedFromOrigin | form | DateTime? | No | |
IsDeleted | form | bool? | No | |
DateDeletedBySystem | form | DateTime? | No | |
DeletedBySystem | form | bool? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
CreationDate | form | DateTime? | No | |
PhoneFullVerificationNumber | form | string | No | |
DeviceId | form | string | No | |
KsiCardTypeId | form | string | No | |
KsiClubId | form | string | No | |
HolderName | form | string | No | |
CanTransferToPhoneFullNumber | form | string | No | |
CanTransferToNName | form | string | No | |
ExpYear | form | string | No | |
ExpMonth | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ksiPaymentCards HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"eventId":0,"phoneVerificationNumber":"String","deviceId":"String","requestUnixUTCTimeStamp":0,"signature":{"systemId":"String","systemSecret":"String","signature":"String"}}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"cards":[{"id":0,"creationDate":"0001-01-01T00:00:00.0000000","lastTokenDate":"0001-01-01T00:00:00.0000000","isDebit":false,"phoneVerificationNumber":"String","deviceId":"String","virtualCardNumber":"String","panLastFour":"String","expYear":"String","expMonth":"String","token":"String","cardType":"String","deletedByUser":false,"deletedFromOrigin":false,"dateDeletedByUser":"0001-01-01T00:00:00.0000000","dateDeletedFromOrigin":"0001-01-01T00:00:00.0000000","isDeleted":false,"dateDeletedBySystem":"0001-01-01T00:00:00.0000000","deletedBySystem":false}],"ksiCards":[{"id":0,"creationDate":"0001-01-01T00:00:00.0000000","phoneFullVerificationNumber":"String","deviceId":"String","ksiCardTypeId":"String","ksiClubId":"String","holderName":"String","canTransferToPhoneFullNumber":"String","canTransferToNName":"String","expYear":"String","expMonth":"String"}],"statusCode":0,"message":"String"}