Created
          June 12, 2019 17:28 
        
      - 
      
 - 
        
Save mgiacomini/fa12ff4ef5ab10bb003a3aa0dad98a6f to your computer and use it in GitHub Desktop.  
    ebanx split
  
        
  
    
      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 -X POST 'https://staging.ebanx.com.br/ws/direct' \ | |
| -d 'request_body={ | |
| "integration_key": "<bcredi-integration-key>", | |
| "operation": "request", | |
| "payment": { | |
| "name": "José Silva", | |
| "email": "[email protected]", | |
| "document": "853.513.468-93", | |
| "address": "Rua E", | |
| "street_number": "1040", | |
| "city": "Maracanaú", | |
| "state": "CE", | |
| "zipcode": "61919-230", | |
| "country": "br", | |
| "phone_number": "8522847035", | |
| "payment_type_code": "boleto", | |
| "merchant_payment_code": "a92253f29db", | |
| "currency_code": "BRL", | |
| "amount_total": 100, | |
| "split": [ | |
| { | |
| "recipient_code": "your_unique_recipient_code", | |
| "amount": 50, | |
| "liable": true, | |
| "charge_fee": true | |
| }, | |
| { | |
| "recipient_code": "your_second_unique_recipient_code", | |
| "amount": 50, | |
| "liable": false, | |
| "charge_fee": 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
    
  
  
    
  | {"status":"ERROR","status_code":"BP-DR-130","status_message":"Split parameter error. One or more Merchant recipient(s) are invalid."} | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Poderiam tentar novamente por gentileza?