api.payment_card_issuers¶
/api/payment_card_issuers/¶
GET /api/payment_card_issuers/¶
Description:
Return the list of payment card issuers that Lightspeed support.
| can_lock | requires_lock | has_etag | requires_etag | 
|---|---|---|---|
| False | False | False | False | 
Response:
<payment_card_issuers>
        <payment_card_issuer uri="/payment_card_issuers/X/" id="X" etag="[int]">
            <!-- See GET /payment_card_issuers/X/ response for details. -->
        </payment_card_issuer>
        ...
</payment_card_issuers>
/api/payment_card_issuers/(d+)/¶
GET /api/payment_card_issuers/(d+)/¶
Description:
Return a specific payment card issuer that Lightspeed support.
| can_lock | requires_lock | has_etag | requires_etag | 
|---|---|---|---|
| False | False | True | False | 
Response:
<payment_card_issuer uri="/payment_card_issuers/X/" id="X">
    <name>[str]</name> <!-- A predefined card provider that LS support. -->
    <payment_method uri="/setup/payment_methods/Y/" id="Y"/>
</payment_card_issuer>
PUT /api/payment_card_issuers/(d+)/¶
Description:
Update a payment card issuer that Lightspeed support.
| can_lock | requires_lock | has_etag | requires_etag | 
|---|---|---|---|
| False | False | True | True | 
Request:
<payment_card_issuer>
    <payment_method id="[int]"/>
</payment_card_issuer>
Response:
<payment_card_issuer uri="/payment_card_issuers/X/" id="X">
    <name>[str]</name> <!-- A predefined card provider that LS support. -->
    <payment_method uri="/setup/payment_methods/Y/" id="Y"/>
</payment_card_issuer>
/api/payment_card_issuers/detect_card/¶
POST /api/payment_card_issuers/detect_card/¶
Description:
Find a payment card issuer that Lightspeed support from a card's data.
| can_lock | requires_lock | has_etag | requires_etag | 
|---|---|---|---|
| False | False | True | False | 
Request:
<card_info>
    <track_data>[str]</track_data> <!-- Mutually exclusive with number -->
    <number>[str]</number> <!-- Mutually exclusive with track_data -->
</card_info>
Response:
<payment_card_issuer uri="/payment_card_issuers/X/" id="X">
    <name>[str]</name> <!-- A predefined card provider that LS support. -->
    <payment_method uri="/setup/payment_methods/Y/" id="Y"/>
</payment_card_issuer>