POST MobilePay/RegisterVippsWebhook
Skal registreret med kundens egne api nøgler, da det ellers bliver registreret til partner og triggers på alle salgssteder der er tilknyttet partner - https://developer.vippsmobilepay.com/docs/APIs/webhooks-api/api-guide/
Request Information
URI Parameters
None.
Body Parameters
VippsWebhookRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| url | string |
None. |
|
| events | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"url": "sample string 1",
"events": [
"sample string 1",
"sample string 2"
]
}
text/html
Sample:
{"url":"sample string 1","events":["sample string 1","sample string 2"]}
application/xml, text/xml
Sample:
<VippsWebhookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2">
<events xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</events>
<url>sample string 1</url>
</VippsWebhookRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.