Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Paypal Server Sdk Laravel Package

paypal/paypal-server-sdk

Official PayPal Server SDK for PHP. Integrates with a limited set of PayPal REST APIs (Orders, Payments, Vault, Transaction Search, Subscriptions). Supports sandbox/live environments, configurable timeouts, and optional retries/backoff.

View on GitHub
Deep Wiki
Context7

Subscription Card Request

The payment card to use to fund a payment. Can be a credit or debit card.

Structure

SubscriptionCardRequest

Fields

Name Type Tags Description Getter Setter
name ?string Optional The card holder's name as it appears on the card.Constraints: Minimum Length: 1, Maximum Length: 300, Pattern: ^.{1,300}$ getName(): ?string setName(?string name): void
number ?string Optional The primary account number (PAN) for the payment card.Constraints: Minimum Length: 13, Maximum Length: 19, Pattern: ^[0-9]{13,19}$ getNumber(): ?string setNumber(?string number): void
expiry ?string Optional The year and month, in ISO-8601 YYYY-MM date format. See Internet date and time format.Constraints: Minimum Length: 7, Maximum Length: 7, Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$ getExpiry(): ?string setExpiry(?string expiry): void
securityCode ?string Optional The three- or four-digit security code of the card. Also known as the CVV, CVC, CVN, CVE, or CID. This parameter cannot be present in the request when payment_initiator=MERCHANT.Constraints: Minimum Length: 3, Maximum Length: 4, Pattern: ^[0-9]{3,4}$ getSecurityCode(): ?string setSecurityCode(?string securityCode): void
type ?string(CardType) Optional Type of card. i.e Credit, Debit and so on.Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[A-Z_]+$ getType(): ?string setType(?string type): void
brand ?string(SubscriptionsCardBrand) Optional The card network or brand. Applies to credit, debit, gift, and payment cards.Constraints: Minimum Length: 1, Maximum Length: 255, Pattern: ^[A-Z_]+$ getBrand(): ?string setBrand(?string brand): void
billingAddress ?Address Optional The portable international postal address. Maps to AddressValidationMetadata and HTML 5.1 Autofilling form controls: the autocomplete attribute. getBillingAddress(): ?Address setBillingAddress(?Address billingAddress): void
attributes ?SubscriptionsCardAttributes Optional Additional attributes associated with the use of this card. getAttributes(): ?SubscriptionsCardAttributes setAttributes(?SubscriptionsCardAttributes attributes): void

Example (as JSON)

{
  "name": "name6",
  "number": "number6",
  "expiry": "expiry4",
  "security_code": "security_code8",
  "type": "UNKNOWN"
}
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport