The card details. Mainly used for BNPL (Buy Now Pay Later) loans.
You can pass either issuerId
+ token
attributes or the card
object.
If issuerId
+ token
attributes are passed, Peach will sync the card status, transactions and balances with the loan
ledger seamlessly.
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.
The card issuerId
and token
can be updated only if the loan status is originated
or pending
. After the
loan is activated, the issuerId
and token
cannot be changed.
Success
{- "issuerId": "string",
- "token": "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": {
- "issuerId": "string",
- "token": "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"
}, - "nickname": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}
The card details. Mainly used for BNPL (Buy Now Pay Later) loans.
You can pass either issuerId
+ token
attributes or the card
object.
If issuerId
+ token
attributes are passed, Peach will sync the card status, transactions and balances with the loan
ledger seamlessly.
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.
The card issuerId
and token
can be updated only if the loan status is originated
or pending
. After the
loan is activated, the issuerId
and token
cannot be changed.
Success
{- "issuerId": "string",
- "token": "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": {
- "issuerId": "string",
- "token": "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"
}, - "nickname": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "issuerId": "string",
- "token": "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"
}, - "nickname": "string",
- "pan": "string",
- "cvvNumber": "string"
}, - "type": "virtualCard",
- "cardBalances": {
- "originalAmount": 0,
- "usedAmount": 0,
- "refundedAmount": 0
}
}
}
Success
{- "mappingType": "singleDraw",
- "drawId": "string"
}
{- "status": 0,
- "message": "string",
- "data": {
- "mappingType": "singleDraw",
- "drawId": "string"
}
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "mappingType": "singleDraw",
- "drawId": "string"
}
}