WS-RESTRICTED_API Host [RESTRICTED_API] : D5290-staging

<back to all web services

payment_bank

Payment

Paiements : appel des formulaires de règlements (PAYBOX, LA BANQUE POSTALE, etc...)

The following routes are available for this service:
GET,POST/payment_bank/{payment_target}/{payment_run_mode}/{payment_type}/{reference}/{amout}/{email}Paiements : appel des formulaires de règlements
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    /**
    * Paiements : appel des formulaires de règlements (PAYBOX, LA BANQUE POSTALE, etc...)
    */
    @Api(Description="Paiements : appel des formulaires de règlements (PAYBOX, LA BANQUE POSTALE, etc...)")
    public static class payment_bank
    {
        /**
        * environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET
        */
        @ApiMember(Description="environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET", IsRequired=true, Name="payment_target")
        public eapi_payment_target_enum payment_target = null;

        /**
        * mode : LIVE, TEST
        */
        @ApiMember(Description="mode : LIVE, TEST", IsRequired=true, Name="payment_run_mode")
        public eapi_payment_run_mode_enum payment_run_mode = null;

        /**
        * type de paiement : CB, AMEX, SEPA, SEPA_DIRECT, COMPTABILITE
        */
        @ApiMember(Description="type de paiement : CB, AMEX, SEPA, SEPA_DIRECT, COMPTABILITE", IsRequired=true, Name="payment_type")
        public eapi_payment_type_enum payment_type = null;

        /**
        * référence du paiement : 'uuid'
        */
        @ApiMember(Description="référence du paiement : 'uuid'", IsRequired=true, Name="reference")
        public String reference = null;

        /**
        * montant du paiement dans sa plus petite unité monétaire (le centime pour l'euro)
        */
        @ApiMember(Description="montant du paiement dans sa plus petite unité monétaire (le centime pour l'euro)", IsRequired=true, Name="amout")
        public String amout = null;

        /**
        * email client
        */
        @ApiMember(Description="email client", IsRequired=true, Name="email")
        public String email = null;
        
        public eapi_payment_target_enum getPaymentTarget() { return payment_target; }
        public payment_bank setPaymentTarget(eapi_payment_target_enum value) { this.payment_target = value; return this; }
        public eapi_payment_run_mode_enum getPaymentRunMode() { return payment_run_mode; }
        public payment_bank setPaymentRunMode(eapi_payment_run_mode_enum value) { this.payment_run_mode = value; return this; }
        public eapi_payment_type_enum getPaymentType() { return payment_type; }
        public payment_bank setPaymentType(eapi_payment_type_enum value) { this.payment_type = value; return this; }
        public String getReference() { return reference; }
        public payment_bank setReference(String value) { this.reference = value; return this; }
        public String getAmout() { return amout; }
        public payment_bank setAmout(String value) { this.amout = value; return this; }
        public String getEmail() { return email; }
        public payment_bank setEmail(String value) { this.email = value; return this; }
    }

    public static enum eapi_payment_target_enum
    {
        Labanquepostale,
        Paybox,
        Milliet;
    }

    public static enum eapi_payment_run_mode_enum
    {
        Test,
        Live,
        ForceLive;
    }

    public static enum eapi_payment_type_enum
    {
        DirectSepa,
        Sepa,
        Cb,
        Amex,
        Comptabilite;
    }

}

Java payment_bank DTOs

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

HTTP + JSON

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"}