POST MobilePay/ListCharges

Request Information

URI Parameters

None.

Body Parameters

VippsAgreementGetRequest
NameDescriptionTypeAdditional information
IdempotencyKey

string

None.

AgreementID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdempotencyKey": "sample string 1",
  "AgreementID": "sample string 2"
}

text/html

Sample:
{"IdempotencyKey":"sample string 1","AgreementID":"sample string 2"}

application/xml, text/xml

Sample:
<VippsAgreementGetRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
  <AgreementID>sample string 2</AgreementID>
  <IdempotencyKey>sample string 1</IdempotencyKey>
</VippsAgreementGetRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VippsAgreementGetRequest'.

Response Information

Resource Description

VippsJsonArrayResponse
NameDescriptionTypeAdditional information
Status

string

None.

Response

Collection of Object

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Response": null,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":"sample string 1","Response":null,"ErrorMessage":"sample string 2"}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Newtonsoft.Json.Linq.JToken' is a recursive collection data contract which is not supported. Consider modifying the definition of collection 'Newtonsoft.Json.Linq.JToken' to remove references to itself.