GET
/v1/order/{id}/family-payment-start
curl \
--request GET 'https://api-dev.classmanager.io/v1/order/ord_123123123123/family-payment-start'
Response examples (200)
{
"amountToPay": "12.34",
"cardProcessingFee": "1.23",
"paymentSession": {
"paymentIntent": {
"id": "pm_1234567890",
"clientSecret": "pm_1234567890_secret_xxxxxxxx",
"amount": 1999,
"status": "canceled",
"paymentMethod": {
"id": "pm_123456789",
"type": "acss_debit",
"isDefault": true,
"data": {
"brand": "amex",
"country": "US",
"expiryMonth": 12,
"expiryYear": 2023,
"cardNumber": "************4242",
"last4": "4242"
}
},
"charge": {
"id": "pm_1234567890",
"amount": 1999,
"amountCaptured": 1999,
"amountRefunded": 1999,
"currency": "usd",
"refunded": false,
"refunds": [
{
"id": "pm_1234567890",
"amount": 1999,
"currency": "usd",
"status": "pending",
"createdAt": "2023-12-05"
}
]
}
},
"customerSession": {
"customerId": "cus_1234567890",
"clientSecret": "cs_1234567890_secret_xxxxxxxx"
},
"ephemeralKey": {
"id": "ephkey_xxxxxxxx",
"secret": "ek_xxxxxxxx",
"associatedObjectId": "cus_xxxxxxxx",
"associatedObjectType": "customer"
}
}
}