| GET,POST | /payment_bank/{payment_target}/{payment_run_mode}/{payment_type}/{reference}/{amout}/{email} | Paiements : appel des formulaires de règlements |
|---|
namespace WS_RESTRICTED_API
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
type eapi_payment_target_enum =
| LABANQUEPOSTALE = 0
| PAYBOX = 1
| MILLIET = 2
type eapi_payment_run_mode_enum =
| TEST = 0
| LIVE = 1
| FORCE_LIVE = 2
type eapi_payment_type_enum =
| DIRECT_SEPA = 0
| SEPA = 1
| CB = 2
| AMEX = 3
| COMPTABILITE = 4
///<summary>
///Paiements : appel des formulaires de règlements (PAYBOX, LA BANQUE POSTALE, etc...)
///</summary>
[<Api(Description="Paiements : appel des formulaires de règlements (PAYBOX, LA BANQUE POSTALE, etc...)")>]
[<AllowNullLiteral>]
type payment_bank() =
///<summary>
///environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET
///</summary>
[<ApiMember(Description="environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET", IsRequired=true, Name="payment_target")>]
member val payment_target:eapi_payment_target_enum = new eapi_payment_target_enum() with get,set
///<summary>
///mode : LIVE, TEST
///</summary>
[<ApiMember(Description="mode : LIVE, TEST", IsRequired=true, Name="payment_run_mode")>]
member val payment_run_mode:eapi_payment_run_mode_enum = new eapi_payment_run_mode_enum() with get,set
///<summary>
///type de paiement : CB, AMEX, SEPA, SEPA_DIRECT, COMPTABILITE
///</summary>
[<ApiMember(Description="type de paiement : CB, AMEX, SEPA, SEPA_DIRECT, COMPTABILITE", IsRequired=true, Name="payment_type")>]
member val payment_type:eapi_payment_type_enum = new eapi_payment_type_enum() with get,set
///<summary>
///référence du paiement : 'uuid'
///</summary>
[<ApiMember(Description="référence du paiement : 'uuid'", IsRequired=true, Name="reference")>]
member val reference:String = null with get,set
///<summary>
///montant du paiement dans sa plus petite unité monétaire (le centime pour l'euro)
///</summary>
[<ApiMember(Description="montant du paiement dans sa plus petite unité monétaire (le centime pour l'euro)", IsRequired=true, Name="amout")>]
member val amout:String = null with get,set
///<summary>
///email client
///</summary>
[<ApiMember(Description="email client", IsRequired=true, Name="email")>]
member val email:String = null with get,set
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_bank/{payment_target}/{payment_run_mode}/{payment_type}/{reference}/{amout}/{email} HTTP/1.1
Host: milliet.io
Accept: application/json
Content-Type: application/json
Content-Length: length
{"payment_target":"LABANQUEPOSTALE","payment_run_mode":"TEST","payment_type":"DIRECT_SEPA","reference":"String","amout":"String","email":"String"}