GET v1/ProfilePersons/{id}/SavedPaymentMethods/CreditCard?sort={sort}
Get all Credit Card Type Saved Payment Methods of the person
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
sort |
A comma delimited list of columns to sort by. Field are sorted in ascending order by default. To have a field sort in descending order, preface it with the minus (-) sign. |
string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
Collection of getAllSavedPaymentMethodsOutputName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
paymentType | string |
None. |
|
partialNumber | string |
None. |
|
expirationMonth | integer |
None. |
|
expirationYear | integer |
None. |
|
requireCVV | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "paymentType": "sample string 2", "partialNumber": "sample string 3", "expirationMonth": 4, "expirationYear": 5, "requireCVV": true }, { "Id": 1, "paymentType": "sample string 2", "partialNumber": "sample string 3", "expirationMonth": 4, "expirationYear": 5, "requireCVV": true } ]
text/html
Sample:
[{"Id":1,"paymentType":"sample string 2","partialNumber":"sample string 3","expirationMonth":4,"expirationYear":5,"requireCVV":true},{"Id":1,"paymentType":"sample string 2","partialNumber":"sample string 3","expirationMonth":4,"expirationYear":5,"requireCVV":true}]
application/xml, text/xml
Sample:
<ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ProfilePersons_ProfilePersonEndpoint"> <v1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput> <Id>1</Id> <expirationMonth>4</expirationMonth> <expirationYear>5</expirationYear> <partialNumber>sample string 3</partialNumber> <paymentType>sample string 2</paymentType> <requireCVV>true</requireCVV> </v1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput> <v1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput> <Id>1</Id> <expirationMonth>4</expirationMonth> <expirationYear>5</expirationYear> <partialNumber>sample string 3</partialNumber> <paymentType>sample string 2</paymentType> <requireCVV>true</requireCVV> </v1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput> </ArrayOfv1_ProfilePersons_ProfilePersonEndpointController.getAllSavedPaymentMethodsOutput>