List of cards
POST
/api/payment/card/listThis function allows you to retrieve the complete list of available and valid credit cards used by a user. You can then use an Alias
returned by the service to make a Oneclick payment.
Request
Body Params application/x-www-form-urlencoded
ClientId
number
required
Unique Easytransac customer ID (if you have already made a payment for this customer)
Signature
string
required
Signature to verify the integrity of the data sent
Responses
Response(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
Code
integer
optional
Example:
0
Signature
string
optional
Example:
1f51786246a940677afe71f6968972fd46500bd1
Result
array [object {9}]
optional
ClientId
string
optional
Example:
abc1234
Alias
string
optional
Example:
a1b2c3
CardNumber
string
optional
Example:
************4321
CardMonth
string
optional
Example:
09
CardYear
string
optional
Example:
2020
CardType
string
optional
Example:
visa
CardCountry
string
optional
Example:
FRA
LastAccessed
string
optional
Example:
2019-06-04 05:16:50
Verified
string
optional
Indique si la carte a été pré-autorisée une première fois ou simplement tokenisée
Allowed values:
yesno
Example:
yes
Example
{
"Code": 0,
"Signature": "1f51786246a940677afe71f6968972fd46500bd1",
"Result": [
{
"ClientId": "abc1234",
"Alias": "a1b2c3",
"CardNumber": "************4321",
"CardMonth": "09",
"CardYear": "2020",
"CardType": "visa",
"CardCountry": "FRA",
"LastAccessed": "2019-06-04 05:16:50",
"Verified": "yes"
}
]
}
Modified at 3 months ago