POST mpi/{{API_KEY}}/deposit/credit-cardContent-Type: application/jsonHost: {{API_URL}}.bridgerpay.comAuthorization: Bearer {{ACCESS_TOKEN}}{"cashier_key": "{{CASHIER_KEY}}","order_id": "g173aa11","first_name": "John","last_name": "Smith","email": "[email protected]","currency": "EUR","country": "BE","state": null,"address1": "Rue du Pont Simon 115","city": "Appelterre-eichem","zip_code": "9900","amount": 15.1,"phone": "+328141112233","affiliate_id": null,"tracking_id": null,"payload": null,"card_holder_name": "John Smith","credit_card_number": "4012888888881881","expire_month": 1,"expire_year": 2022,"cvv2": "111","date_of_birth": "1991/10/01","personal_id": "","bank_account_name": ""}
{"response": {"status": "success", //Response status"type": null, //Error type"code": 200, //Response code"message": "OK" //Comment associated with the response},"result": {"mpi_url": "https:...", //Link to a dialog box interacting with the shopper;//it shows the current status of the transaction or asks to enter a security code to confirm the payment"amount": 15.1, //Transaction amount"currency": "EUR", //Transaction currency"order_id": "g173aa11", //Transaction ID within the merchant's system"credit_card_bin": "000011", //Bank identifier number; refers to the initial set of four or six numbers that appear on a payment card"created_date": 1595426508 //UTC timestamp of when the request was processed by BridgerPay"status": "in_process", //Transaction status"id": "aeea2...a03" //Transaction ID within the BridgerPay system}}
{"response": {"status": "error","type": null,"code": 400,"message": "Bad request"}"result": {"transaction_id": "79f9419a", //Transaction ID within the PSP's system"amount": 15.1,"currency": "EUR","credit_card_masked": "4580xxxxxxxx0001","captured": true,"paynet_processing_date": "2018-10-13 22:42:15","failure_code": "expired_card","failure_message": "The card has expired.","status": "declined","id": "abba3...z05"}}
{"response": {"status": "error","type": null,"code": 402,"message": "Request Failed"},"result": [{"type": "do_not_try_again","message": "Card has been declined, please contact your credit company or our support."}]}
{"response": {"status": "error","type": null,"code": 413,"message": "Payload Too Large"}"result": null}