Apple Pay Request Card
November 13, 2025 ยท View on GitHub
The payment card to be used to fund a payment. Can be a credit or debit card.
Structure
ApplePayRequestCard
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
Type | CardType | Optional | Type of card. i.e Credit, Debit and so on. Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[A-Z_]+$ | CardType getType() | setType(CardType type) |
Brand | CardBrand | Optional | The card network or brand. Applies to credit, debit, gift, and payment cards. Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[A-Z_]+$ | CardBrand getBrand() | setBrand(CardBrand brand) |
BillingAddress | Address | Optional | The portable international postal address. Maps to AddressValidationMetadata and HTML 5.1 Autofilling form controls: the autocomplete attribute. | Address getBillingAddress() | setBillingAddress(Address billingAddress) |
Example (as JSON)
{
"type": "PREPAID",
"brand": "PULSE",
"billing_address": {
"address_line_1": "address_line_12",
"address_line_2": "address_line_28",
"admin_area_2": "admin_area_28",
"admin_area_1": "admin_area_14",
"postal_code": "postal_code0",
"country_code": "country_code8"
}
}