forked from LiveCarta/PayPal-PHP-Server-SDK
2.0.0 Release (#58)
* Automated commit message * Automated commit message * add changelog --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
29
doc/models/subscription-payment-source.md
Normal file
29
doc/models/subscription-payment-source.md
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
# Subscription Payment Source
|
||||
|
||||
The payment source definition. To be eligible to create subscription using debit or credit card, you will need to sign up here (https://www.paypal.com/bizsignup/entry/product/ppcp). Please note, its available only for non-3DS cards and for merchants in US and AU regions.
|
||||
|
||||
## Structure
|
||||
|
||||
`SubscriptionPaymentSource`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `card` | [`?SubscriptionCardRequest`](../../doc/models/subscription-card-request.md) | Optional | The payment card to use to fund a payment. Can be a credit or debit card. | getCard(): ?SubscriptionCardRequest | setCard(?SubscriptionCardRequest card): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"card": {
|
||||
"name": "name6",
|
||||
"number": "number6",
|
||||
"expiry": "expiry4",
|
||||
"security_code": "security_code8",
|
||||
"type": "UNKNOWN"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user