API
HomeEasytransac
HomeEasytransac
  1. API - Payment
  • Start
    • API Domain Usage
    • Get an API key
    • Communication
  • Documentation
    • Errors
      • ApiError codes
    • Webhooks
      • PUSH Method
      • PULL Method
  • V2
    • Overview
    • Authentication
      • JWT access token - Generate
        POST
    • Endpoints
      • Open Banking
        • Open Banking - Initialize
      • SDD
        • SDD - Mandate - Create
        • SDD - Mandate - Debit
        • SDD - Mandate - Get status
      • Transaction
        • Transaction - Get status
  • V1
    • Documentation
      • Signature
    • Authentication
      • Overview
      • Security
      • PSD2 and 3DSecure
    • API - Payment
      • Recurring payments
      • Card payment
        POST
      • 1-click payment
        POST
      • SEPA Direct Debit
        POST
      • Transfer (Open Banking)
        POST
      • Payment page
        POST
      • Cancel a payment page
        POST
      • Resend the payment page
        POST
      • P2P Transfert
        POST
      • Update a subscription
        POST
      • Status
        POST
      • Refund
        POST
      • Capture
        POST
      • Cancellation
        POST
      • List of cards
        POST
      • List of IBANs
        POST
      • History
        POST
      • Payment requests
        POST
      • Card information
        POST
    • API - User
      • Add a merchant
      • Update a merchant
      • Search for a merchant
      • List of movements
      • Make a payout
      • List all payouts
      • Add a logo
      • Get the activity
      • Update activity
    • API - Document
      • Add a document
      • Get a document
      • List documents
  1. API - Payment

List of cards

Sandbox
https://api.sandbox.easytransac.com/v2
Sandbox
https://api.sandbox.easytransac.com/v2
POST
/api/payment/card/list
API - Payment
This 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

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.sandbox.easytransac.com/v2/api/payment/card/list' \
--data-urlencode 'ClientId=' \
--data-urlencode 'Signature='

Responses

🟢200Response
application/json
Body
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
enum<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"
    }
  ]
}
Previous
Cancellation
Next
List of IBANs
Built with