| GET,POST | /payment_initiate/{payment_target}/{payment_run_mode}/{payment_type}/{id_origin}/{id_societe}/{id_client}/{id_commande}/{type_paiement}/{amount}/{email} | Paiements : initier un règlement | |
|---|---|---|---|
| GET,POST | /payment_initiate/{payment_target}/{payment_run_mode}/{payment_type}/{id_origin}/{id_societe}/{id_client}/{id_commande}/{type_paiement}/{amount}/{email}/{commentaire} | Paiements : initier un règlement |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| payment_target | path | eapi_payment_target_enum | Yes | environnement cible : PAYBOX, LA BANQUE POSTALE, MILLIET |
| payment_run_mode | path | eapi_payment_run_mode_enum | Yes | mode : LIVE, TEST |
| payment_type | path | eapi_payment_type_enum | Yes | type de paiement : CB, AMEX, SEPA, SEPA_DIRECT, COMPTABILITE |
| id_origin | path | string | Yes | initiateur de la demande : web, dcp, télévente, compta, ibar, etc |
| id_societe | path | string | Yes | numéro société : 1-J. Milliet BBC, 2-BCASH Chapelle, 3-BCASH Bagneux, 6-BCASH Clichy, etc... |
| id_client | path | string | Yes | numéro client : 2263-David, 13846-Fabien, etc... |
| id_commande | path | string | Yes | numéro commande : dans le cas du DCP, sinon 0 ... OU PAS !!! (évolution pour télévente, compta, etc...) |
| type_paiement | path | eapi_payment_type_enum | Yes | type : CB, AMEX, SEPA, SEPA_DIRECT |
| amount | path | string | Yes | montant du paiement dans sa plus petite unité monétaire (le centime pour l'euro) |
| path | string | Yes | email client | |
| commentaire | path | string | No | commentaire |
| LABANQUEPOSTALE | |
| PAYBOX | |
| MILLIET |
| TEST | |
| LIVE | |
| FORCE_LIVE |
| DIRECT_SEPA | |
| SEPA | |
| CB | |
| AMEX | |
| COMPTABILITE |
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_initiate/{payment_target}/{payment_run_mode}/{payment_type}/{id_origin}/{id_societe}/{id_client}/{id_commande}/{type_paiement}/{amount}/{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","id_origin":"String","id_societe":"String","id_client":"String","id_commande":"String","type_paiement":"DIRECT_SEPA","amount":"String","email":"String","commentaire":"String"}