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

export enum eapi_payment_target_enum
{
    LABANQUEPOSTALE = 'LABANQUEPOSTALE',
    PAYBOX = 'PAYBOX',
    MILLIET = 'MILLIET',
}

export enum eapi_payment_run_mode_enum
{
    TEST = 'TEST',
    LIVE = 'LIVE',
    FORCE_LIVE = 'FORCE_LIVE',
}

export enum eapi_payment_type_enum
{
    DIRECT_SEPA = 'DIRECT_SEPA',
    SEPA = 'SEPA',
    CB = 'CB',
    AMEX = 'AMEX',
    COMPTABILITE = 'COMPTABILITE',
}

/** @description 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...)")
export class payment_bank
{
    /** @description environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET */
    // @ApiMember(Description="environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET", IsRequired=true, Name="payment_target")
    public payment_target: eapi_payment_target_enum;

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

    /** @description 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 payment_type: eapi_payment_type_enum;

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

    /** @description 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 amout: string;

    /** @description email client */
    // @ApiMember(Description="email client", IsRequired=true, Name="email")
    public email: string;

    public constructor(init?: Partial<payment_bank>) { (Object as any).assign(this, init); }
}

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