GET api/v1/customer/profile
Get a customer's profile.
Request Information
URI Parameters
None.
Body Parameters
CustomerGetProfileBindingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Authentication | AuthenticationModel |
Required |
|
| Request | CustomerGetProfileRequestModel |
Required |
Request Formats
application/json, text/json
Sample:
{
"Authentication": {
"Id": "sample string 1",
"Key": "sample string 2"
},
"Request": {
"Email": "sample string 1",
"CustomerId": "sample string 2",
"PaymentProfileId": "sample string 3"
}
}
application/xml, text/xml
Sample:
<CustomerGetProfileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Payments.Api.Models">
<Authentication>
<Id>sample string 1</Id>
<Key>sample string 2</Key>
</Authentication>
<Request>
<CustomerId>sample string 2</CustomerId>
<Email>sample string 1</Email>
<PaymentProfileId>sample string 3</PaymentProfileId>
</Request>
</CustomerGetProfileBindingModel>
Response Information
Resource Description
ProfileOutgoingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | MessageModel |
None. |
|
| Response | IProfileResponseModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Message": {
"Code": "(2 digit code reflecting result of request - 00 is good)",
"Description": "(Message response in text depending upon request/result of request)"
},
"Response": {
"CustomerProfileId": "000000000 (some 9 digit code/will be null for registering payment only)",
"PaymentProfileId": "000000000 (some 9 digit code)"
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.