POST Vipps/RefundCharge
Request Information
URI Parameters
None.
Body Parameters
VippsRefundChargeRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| IdempotencyKey | string |
None. |
|
| ChargeID | string |
None. |
|
| AgreementID | string |
None. |
|
| amount | integer |
None. |
|
| description | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdempotencyKey": "sample string 1",
"ChargeID": "sample string 2",
"AgreementID": "sample string 3",
"amount": 1,
"description": "sample string 4"
}
text/html
Sample:
{"IdempotencyKey":"sample string 1","ChargeID":"sample string 2","AgreementID":"sample string 3","amount":1,"description":"sample string 4"}
application/xml, text/xml
Sample:
<VippsRefundChargeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTHelpers"> <AgreementID>sample string 3</AgreementID> <ChargeID>sample string 2</ChargeID> <IdempotencyKey>sample string 1</IdempotencyKey> <amount>1</amount> <description>sample string 4</description> </VippsRefundChargeRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
VippsCharge| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| ChargeID | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"ChargeID": "sample string 2",
"ErrorMessage": "sample string 3"
}
text/html
Sample:
{"Status":"sample string 1","ChargeID":"sample string 2","ErrorMessage":"sample string 3"}
application/xml, text/xml
Sample:
<VippsCharge xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CTHelpers"> <ChargeID>sample string 2</ChargeID> <ErrorMessage>sample string 3</ErrorMessage> <Status>sample string 1</Status> </VippsCharge>