The card details.
You can pass either issuerId
+ corresponding accountIdentifier
for the card (e.g. accountIdentifiers.galileoCad
) attributes or the cardDetails
object.
If issuerId
+ card accountIdentifier
attributes are passed and issuerEventsSubscriber
is set to peach
, Peach will sync the card status, transactions and balances with the loan ledger seamlessly. Note: these attributes must be passed if issuerEventsSubscriber
is set to peach
, because Peach will need the identifying information to tie the issuer's events to the proper card.
If cardDetails
is passed, the card details will be stored in the Peach system as read-only. The lender is responsible for updating the loan details based on the card usage. Note: if cardDetails
is passed without issuerId
and accountIdentifier
, issuerEventsSubscriber
cannot be set to peach
.
The card issuerId
and accountIdentifier
attributes can be updated only if the loan status is originated or pending. After the loan is activated, the issuerId
and accountIdentifier
information cannot be changed.
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string"
}, - "nickname": "string",
- "pan": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "nickname": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}
Success
{- "status": 0,
- "count": 0,
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "nickname": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
]
}
The card details.
You can pass either issuerId
+ corresponding accountIdentifier
for the card (e.g. accountIdentifiers.galileoCad
) attributes or the cardDetails
object.
If issuerId
+ card accountIdentifier
attributes are passed and issuerEventsSubscriber
is set to peach
, Peach will sync the card status, transactions and balances with the loan ledger seamlessly. Note: these attributes must be passed if issuerEventsSubscriber
is set to peach
, because Peach will need the identifying information to tie the issuer's events to the proper card.
If cardDetails
is passed, the card details will be stored in the Peach system as read-only. The lender is responsible for updating the loan details based on the card usage. Note: if cardDetails
is passed without issuerId
and accountIdentifier
, issuerEventsSubscriber
cannot be set to peach
.
The card issuerId
and accountIdentifier
attributes can be updated only if the loan status is originated or pending. After the loan is activated, the issuerId
and accountIdentifier
information cannot be changed.
Success
{- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string"
}, - "nickname": "string",
- "pan": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0
}, - "statusChangeReasonCode": "cardCanceled"
}
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "nickname": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}
personId required | string (AnyId) ^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+... A Borrower's unique identifier, tied to a person or a business. Can be Peach or a lender's external identifier. |
loanId required | string (AnyId) ^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+... The unique identifier of the Loan we wish to retrieve. Can be Peach or lender's external identifier. |
cardId required | string (AnyId) ^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+... The ID of the card. Can be Peach or lender's external identifier. |
showPan | boolean Set to |
showCvv | boolean Set to |
refresh | boolean If |
Success
{- "status": 0,
- "message": "string",
- "data": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "issuerId": "string",
- "galileoPrn": "string",
- "galileoCad": "string",
- "marqetaUserToken": "string",
- "marqetaBusinessToken": "string",
- "marqetaCardToken": "string",
- "marqetaCardProductToken": "string",
- "lithicAccountToken": "string",
- "lithicCardToken": "string",
- "cardDetails": {
- "status": "inactive",
- "usageType": "singleUse",
- "fulfillmentStatus": "issued",
- "cardNumberLastFour": "string",
- "expirationYear": 2025,
- "expirationMonth": 12,
- "network": "visa",
- "firstName": "string",
- "lastName": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "nickname": "string",
- "pan": "string",
- "cvvNumber": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}