| GET,POST | /payment_webhook/{payment_target}/{payment_run_mode}/{webhook_callback} | Paiements : webhooks - retour des formulaires de règlements |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports WS_RESTRICTED_API
Namespace Global
Namespace WS_RESTRICTED_API
Public Enum eapi_payment_run_mode_enum
TEST
LIVE
FORCE_LIVE
End Enum
Public Enum eapi_payment_target_enum
LABANQUEPOSTALE
PAYBOX
MILLIET
End Enum
'''<Summary>
'''Paiements : webhooks - retour des formulaires de règlements
'''</Summary>
<Api(Description:="Paiements : webhooks - retour des formulaires de règlements")>
Public Partial Class payment_webhook
Public Overridable Property payment_target As eapi_payment_target_enum
Public Overridable Property payment_run_mode As eapi_payment_run_mode_enum
Public Overridable Property webhook_callback As String
Public Overridable Property type As String
End Class
End Namespace
End Namespace
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /payment_webhook/{payment_target}/{payment_run_mode}/{webhook_callback} HTTP/1.1
Host: milliet.io
Accept: application/json
Content-Type: application/json
Content-Length: length
{"payment_target":"LABANQUEPOSTALE","payment_run_mode":"TEST","webhook_callback":"String","type":"String"}