Admin API / Types
LabelPaymentMethod
ObjectA saved card of the caller on District's payment account that can pay for shipping labels.
type LabelPaymentMethodFields
| Field | Type | Description |
|---|---|---|
brand | String | The card network as Stripe names it, for example visa. Null when Stripe gives none. |
expMonth | PositiveInt | The expiry month, 1 to 12. Null when Stripe gives none. |
expYear | PositiveInt | The expiry year, for example 2028. Null when Stripe gives none. |
isDefault | Boolean! | True for the caller's default card. A label purchase with no card given uses it when labels bill to a card. |
last4 | String | The last 4 digits of the card number. Null when Stripe gives none. |
providerPaymentMethodId | String! | The card's ID at the payment provider. Pass it to purchaseShipmentLabel to select this card. |