Switch to dark theme

Switch to light theme

Cards error codes

Note

This section is currently work in progress.

The following table lists the possible error codes returned on Fusion’s Cards APIs.

Bulk card order

Endpoint URI

POST/api/v1/ifi/{ifi_id}/cards/orders

Error codes

HTTP Status CodeError Code Description
200{request is sent back in response}
400BAD_REQUEST
401UNAUTHORIZED
500INTERNAL_SERVER_ERROR

message: Order Request Mismatch, quantity must be present, cardSkuID must be present, orderID must be present, deliveryAddress must be present

Dispatch card

Endpoint URI

POST/api/v1/ifi/{ifi_id}/cards/<<FormFactorID>>/dispatch

Error codes

HTTP Status CodeError Code Description
200{request is sent back in response}
400BAD_REQUEST
401UNAUTHORIZED
500INTERNAL_SERVER_ERROR

message: Order Summary Not Found

message: Error Fetching Data for ClientOrderID

message: Unprocessable entity

Associate Form Factor to resource

Endpoint URI

POST/api/v1/ifi/{ifi_id}/resources/{resource_id}/form_factors

Error codes

HTTP Status CodeError Code Description
200InsertFormFactorResponse Object
400BAD_REQUEST
401UNAUTHORIZED
500INTERNAL_SERVER_ERROR

Card state changes

Endpoint URI

PATCH/api/v1/ifi/{{ifi_id}}/resources/{{resource_id}}/form_factors/{{form_factor_id}}

Error codes

HTTP Status CodeError Code Description
200UpdateFormFactorRequest Object
400BAD_REQUEST
401UNAUTHORIZED
500INTERNAL_SERVER_ERROR

Get Card

Sample Request

1
     cardsService.getCard(cardID, listener)

Error codes

HTTP Status CodeError Code Description
200CardView Object
400Signature is invalid
401UNAUTHORIZED
500card not found {cardId}

Set Card PIN

Sample Request

1
     cardsService.setPin(newPin, cardID, listener)

Error codes

HTTP Status CodeError Code Description
200Empty Response
401UNAUTHORIZED
500INTERNAL_SERVER_ERROR