Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Permite tener la comunicación entre Spin y Fiserv para los módulos de card.​

POST → /

...

cards/

...

account

Descripción

Request

Response

HTTP Codes

Add a new card to accountVincular una tarjeta con un número de cuenta

Code Block
{
  "addressLine1cardNumber": "1",0004217470072001676"
}
Code Block
{
    "addressLine2accountNumber": "2",0004217470072001676"
}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

PUT → /cards/account

Descripción

Request

Response

HTTP Codes

Desvincular una tarjeta de un número de cuenta

Code Block
{
  "
assignedSpendingLimits
customerOrAccountNumber": 
{
"9500507060523627372",
  
"
maximumSpendingLimit
cardNumber": 
3
"0004217470969640887",
  
"
spendingFrequency
cardholderType": 
4, "spendingTransaction": 5 }, "atmCashAmount": 6, "atmCashNumber": 7, "atmCashSingleTransactionLimit": 8, "authorizationCriteriaTableNumber": "9", "authorizationSpendingLimitTable": "10", "blockCode": "11", "branchNumber": 12, "cardAction": 13, "cardActionReasonCode": "14", "cardDelayDays": 15, "panToken": "16", "cardSequence": 17, "cardholderAffiliationGroupId": "18", "cardholderFlag": "19", "city": "20", "currentCardActivation": "21", "customerNumber": "22", "deliveryOption": 23, "deviceIndicator": "24", "embossedName1": "25", "embossedName2": "26", "enrollmentStatusVBV": "27", "expirationDate": "28", "firstIssueBranch": 29, "internetPurchaseAmount": 30, "internetPurchaseNumber": 31, "internetPurchaseSingleTransactionLimit": 32, "languageCode": "33", "maximumAuthorizationFrequency": 34, "name1": "35", "name1TypeIndicator": 36, "name2": "37", "name2TypeIndicator": 38, "nextCardExpirationDate": "39", "numberOfCardsRequested": 40, "overTheCounterCashAmount": 42, "overTheCounterCashNumber": 43, "overTheCounterCashSingleTransactionLimit": 44, "pinMailerDelayDays": 45, "pinOffset": 46, "pinSuppression": 47, "plasticId": "48", "posServiceCode": 49, "accountNumber": "50", "postalCode": 51, "processType": 52, "programId": 53, "reissueDeliveryOption": 54, "requestedCardType": "55", "retailPurchaseAmt": 56, "retailPurchaseNumber": 57, "retailPurchaseSingleTransactionLimit": 58, "securedCodeActivate": 59, "stateOrProvince": "60", "typeCardMailer": "61", "typeOfCard": "62", "user1": 63, "user2": 64, "user3": 65, "user4": 66, "user5": 67, "user6": 68, "user7": 69, "user8": 70, "userDate1": "71", "userDate2": "72", "vbvPassword": "73", "visaMiniIndicator": "74", "visaPlusIndicator": "75" } Code Block{ "panToken": "0004217470595215803",
1
}
Code Block
{
    "cardNumber": "***************4568",
    "customerOrAccountNumber": "9500507060523627372"
}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

POST → /v1/cards/embosser/details

Descripción

Request

Response

HTTP Codes

Obtener cuenta mediante Pantoken Activo

Code Block
{
  "panToken": "0004217470595215803",
  "cardSequence": 2147483647,
  "foreignUse": 0
}
Code Block
{
	"postToAccount": "9500508261544464147",
	"blockCode": "Z",
	"cardNumber": "***************0252",
	"currentCardActivation": "N",
	"dateBlock": "2023-09-04"
}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

Obtener cuenta mediante Pantoken Inactivo

Code Block
{
  "panToken": "0004217470595215803",
  "cardSequence": 1,
  "foreignUse": 1
}
Code Block
{
    "postToAccount": "9500507060523627372",
    "blockCode": "Z",
    "cardNumber": "***************0252",
    "currentCardActivation": "N",
    "dateBlock": "2023-09-04"
}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

Obtener cuenta mediante Pantoken Expirado

Code Block
{
  "panToken": "0004217470200073271",
  "cardSequence": 1,
  "foreignUse": 1
}
Code Block
{
    "postToAccount": "9500507060523627372",
    "cardNumber": "***************8578",
    "currentCardActivation": "N"
}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

POST → /v1/cards/embosser/

...

block

Descripción

Request

Response

HTTP Codes

Obtener cuenta mediante Pantoken

Code Block{ "panToken": "0004217470595215803", "cardSequence": 2147483647, "foreignUse": 0 }

HTTP Codes

Bloqueo de tarjetas - Bloqueo

Code Block
{
"postToAccount":
 
"9500508261544464147",
 
"blockCode": "Z",
  
"
cardNumber
panToken": "
***************0252
0004217470885923553",
  
"
currentCardActivation
cardSequence": 
"N"
1,
  "
dateBlock
functionCode": 
"2023-09-04"
"B" //B para bloquear - u Desbloquear
}
Code Block
{}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

POST → /v1/cards/embosser/block

HTTP Codes

Descripción

Request

Response

Bloqueo de tarjetas - Desbloqueo

Code Block
{
  "blockCode": "Z",
  "panToken": "00042174708859235530004217470752022413",
  "cardSequence": 1,
  "functionCode": "BU" //B para bloquear - u Desbloquear
}
Code Block
{}

200: Solicitud exitosa.

400: Request con campos no válidos.

401: Apy Key no válida.

500: Servicios no disponibles.

...