This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "result": "PREAPPROVED", | |
| "preview": { | |
| "showScript": true, | |
| "simulation": { | |
| "interest": 0.06, | |
| "installmentsNumber": 18, | |
| "downPaymentPercentage": 0, | |
| "pmt": 1385.35, | |
| "totalValue": 24936.27 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "checkoutId": "65fdedee9518790b0f74f73f", | |
| "result": "APPROVED", | |
| "downPaymentOptions": [ | |
| { | |
| "downPaymentPercentage": 0, | |
| "downPaymentValue": 0, | |
| "dueDateOptions": [ | |
| { | |
| "firstDueDate": "2024-04-25", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| junior@junior iopay-sdk-php % php examples/split/create.php | |
| Array | |
| ( | |
| [receiver] => 9f9e387d-f13f-4c64-b7ea-0e2884301d40 | |
| [receiver_fee_type] => proportional | |
| [split_type] => percent | |
| [split_value] => 10 | |
| [min_amount] => 100 | |
| [max_amount] => 100000 | |
| [chargeback_liable] => 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Cotação | |
| Endpoint: http://34.200.233.189/mova/quotation | |
| Body: | |
| { | |
| "request_info": { | |
| "product_id": 801, | |
| "external_id": "abc26" | |
| }, | |
| "financial_info": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $payload = array ( | |
| 'api_version' => self::API_VERSION, | |
| 'transaction_id' => '593f33f6-6122-4624-8c1c-6602a14a730e', | |
| 'data' => array( | |
| 'request_info' => array( | |
| "product_id" => $product_id, | |
| "external_id" => $external_id | |
| ), | |
| 'borrower_info' => array( | |
| "person_type" => $person_type, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $curl = curl_init(); | |
| curl_setopt_array($curl, array( | |
| CURLOPT_URL => self::URL, | |
| CURLOPT_RETURNTRANSFER => true, | |
| CURLOPT_ENCODING => "", | |
| CURLOPT_MAXREDIRS => 10, | |
| CURLOPT_TIMEOUT => 30, | |
| CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, | |
| CURLOPT_SSL_VERIFYPEER => false, | |
| CURLOPT_SSL_VERIFYHOST => false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "payment_method":"credit_card", | |
| "amount":53500, | |
| "recurrence":false, | |
| "installments":1, | |
| "capture":true, | |
| "antifraudEnabled":false, | |
| "customer":{ | |
| "phone":{ | |
| "ddd":"41", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "amount":40000, | |
| "description":"COTURNO T\u00c1TICO -41", | |
| "quantity":1 | |
| }, | |
| { | |
| "amount":94958, | |
| "description":"PED CONJUNTO CAMUFLADO-CAMUFLADO COYOTE-M", | |
| "quantity":1 | |
| } | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 9041 default; | |
| server_name casa_stillo.local *.casa_stillo.local; ## Domain is here twice so server_name_in_redirect will favour the www | |
| server_name_in_redirect off; | |
| root /usr/local/var/casa_stillo/; | |
| autoindex off; | |
| location /app/ { deny all; } | |
| location /includes/ { deny all; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "error": { | |
| "status": "Bad Request", | |
| "status_code": 400, | |
| "type": "invalid_request_error", | |
| "category": "invalid_payment_information", | |
| "message": "Invalid payment information. Please verify request parameters.", | |
| "reversible": false | |
| }, | |
| "id": "c31f9952067c4001822f1b175eafe4aa", |
NewerOlder