LogoLogo
  • Localpayment documentation V2
  • INTRODUCTION TO OUR SOLUTION
    • Payouts
    • Merchant Dashboard
      • Login
      • Reports
        • Account Balance
        • Projected account balance
        • Activity Report
        • Detail transaction
      • Upload Payouts Batch
    • Postman Collection
  • ENVIRONMENTS
    • Environments
  • BEFORE A PAYMENT
    • Authentication - Tokens
    • Login With OTP
    • Currency Exchange
  • REQUEST A PAYMENT
    • PayOut
      • Create
        • Argentina
        • Bolivia
        • Brazil
        • Chile
        • Colombia
        • Ecuador
        • Mexico
        • Paraguay
        • Peru
        • Uruguay
      • Manual Upload
      • Authenticate (2 step)
      • Cancel
  • AFTER A PAYMENT
    • List
    • Get Balance
    • Wire In
    • Callback events
    • Retentions
  • API REFERENCE GUIDE
    • Payout Methods + SLA
      • Latam
    • Country Codes
    • Currency Codes
    • Bank Codes
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Ecuador
      • Mexico
      • Paraguay
      • Peru
      • Uruguay
    • Bank Account Validations
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Ecuador
      • Mexico
      • Paraguay
      • Peru
      • Uruguay
    • Document Validations
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Ecuador
      • Guatemala
      • Mexico
      • Paraguay
      • Peru
      • Uruguay
    • Concept Codes
    • Payout rejected error codes
    • Payout validation error codes
    • Payout Status
  • FLOWS AND CHARACTERISTICS
    • Payout Flow
    • Payout Status Flow
    • Wire In
    • Payout Characteristics SLA
    • Account Currencies
    • Involved Parties
  • HOLIDAYS
    • 2021
    • 2022
    • 2023
  • COMPLIANCE
    • Values
    • Prohibited Countries
    • Prohibited Business
    • Compliance Program Docs
  • GLOSSARY
    • Payments Explained
Powered by GitBook
On this page

Was this helpful?

  1. REQUEST A PAYMENT
  2. PayOut
  3. Create

Bolivia

Localpayment's API works 24/7/365, the payments are processed during business hours from 9am to 15pm GMT -3 when we have our cut-off. Requests done after the cut-off will be executed next business day

Create Payout Bolivia

POST https://sandbox.localpayment.com/api/v2/payouts/payout

Array () [

*Key required

Headers

Name
Type
Description

Content-Type*

String

Default: application/json Content Type

Authorization*

String

Authorization

customer_id*

String

string <= 12

Customer id

countryCode*

String

Value: "BOL"

Request Body

Name
Type
Description

submerchant_code*

String

[ 3 .. 60 ] characters ^[a-zA-Z0-9\s\-_]{3,60}$

The name of the merchant sending the payment

sender_taxid

String

^[a-zA-Z0-9\s]{1,50}$

This field is required when the sender is a customer (C2C or C2B)

sender_name

String

^[a-zA-ZáéíóúÁÉÍÓÚ\\s]{1,60}$

This field is required when the sender is a customer (C2C or C2B)

sender_address

String

^[a-zA-ZáéíóúÁÉÍÓÚ0-9\\s]{1,150}$

This field is required when the sender is a customer (C2C or C2B)

sender_state

String

"^[a-zA-ZáéíóúÁÉÍÓÚ0-9\s]{1,300}$" accepts numbers, letters, and spaces, and the length is between 1 and 300 characters

This field is required when the sender is a customer (C2C or C2B)

sender_country

String

^[a-zA-ZáéíóúÁÉÍÓÚ\\s]{1,20}$

This field is required when the sender is a customer (C2C or C2B)

sender_birthdate

String

([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))

format - yyyymmdd

sender_email

String

bank_account_type*

String

bank_code*

String

3 charact

beneficiary_account_number*

String

characters (^\d{4,20}

beneficiary_address

String

^[a-zA-ZáéíóúÁÉÍÓÚ0-9\s]{1,150}$

beneficiary_state

String

^[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,60}$

beneficiary_country

String

^[a-zA-ZáéíóúÁÉÍÓÚ\s]{1,60}$

beneficiary_birth_date

String

([12]\\d{3}(0[1-9]|1[0-2])(0[1-9]|[12]\\d|3[01]))

format - yyyymmdd

beneficiary_email

String

beneficiary_phone_number

String

beneficiary_document_id

String

This field is optional, if the information is sent it will be verified.

merchant_id*

String

[ 0 .. 60 ] characters

Your internal transaction/tracking ID

concept_code*

String

currency*

String

Value: "BOB"

payout_date

String

format - yyyymmdd - UTC Timezone

amount*

integer <int64>

The last 2 digits represent the decimals (cents). This is the amount to be received by the beneficiary in the local currency

authenticate

boolean

If set as true, the transaction will be created in status OnHold and will expire after a week unless is aproved using the endpoint payouts/authenticate. As default this parameter is false and will be created with the status Received

beneficiary_document_type

String

sender_phone_number

String

beneficiary_name*

String

[ 1 .. 60 ] characters ^[a-zA-Z0-9\s]{1,60}$

[
    {
        
        "beneficiary_document_type": "NIT",
        "beneficiary_document_id": "173628025",
        "bank_code": "009",
        "authenticate": false,
        "transaction_id": 708570,
        "payout_id": 567234,
        "status": "Received",
        "Ticket": "16596494840000",
        "submerchant_code": "PRUEBA BANCO GANADERO otra",
        "sender_taxid": null,
        "sender_name": "Inversiones Sabaot SA",
        "sender_address": "BSAS",
        "sender_state": "BSAS",
        "sender_country": "BOLIVIA",
        "sender_birthdate": null,
        "sender_email": null,
        "sender_phone_number": null,
        "sender_zip_code": null,
        "beneficiary_name": "Inversiones Sabaot SA",
        "bank_account_type": "C",
        "beneficiary_account_number": "1041138743",
        "beneficiary_address": null,
        "beneficiary_state": null,
        "beneficiary_country": null,
        "beneficiary_birth_date": null,
        "beneficiary_email": null,
        "beneficiary_phone_number": "0",
        "beneficiary_zip_code": null,
        "merchant_id": "1659649485",
        "concept_code": "",
        "currency": "BOB",
        "payout_date": "20220804",
        "amount": 100,
        "exchange_rate": 6805387,
        "ErrorRow": {
            "Errors": [],
            "HasError": false
        }
    }
]

Example: PayOut request

curl --location --request POST {{Api_URL}} \
--header 'Authorization: {{Token_Generated}} \
--header 'customer_id: {{Your_CustomerID}}' \
--header 'countryCode: BOL' \
--header 'Content-Type: application/json' \
--data-raw '[
    {	
    "amount":5000,
    "bank_account_type":"C",
    "bank_code": "046",
    "beneficiary_account_number": "3554150",
    "beneficiary_name":"Beneficiary_Name",
    "concept_code":"0001",
    "currency:"BOB",
    "merchant_id":{{$timestamp}},
    "submerchant_code":"Submerchant code"
    }
]
curl --location --request POST {{Api_URL}} \
--header 'Authorization: {{Token_Generated}} \
--header 'customer_id: {{Your_CustomerID}}' \
--header 'countryCode: BOL' \
--header 'Content-Type: application/json' \
--data-raw '[
{
	"amount":5000,
	"bank_account_type":"C",
        "bank_code": "046",
        "beneficiary_account_number": "3554150",
        "beneficiary_address": "Beneficiary Address",
        "beneficiary_birth_date": "19800101",
        "beneficiary_country": "Beneficiary Country",
        "beneficiary_document_id": "678934013",
        "beneficiary_document_type": "NIT",
        "beneficiary_email": "email@beneficiary.com",
	"beneficiary_name":"Beneficiary Name",
        "beneficiary_phone_number": "123456789",
        "beneficiary_state": "Beneficiary State",
	"concept_code":"0001",
	"currency":"BOB",
        "merchant_id":{{$timestamp}},
        "payout_date": "20221129",
        "sender_address": "Sender Address",
        "sender_birthdate": "19800101",
        "sender_country": "Sender Country",
        "sender_email": "email@sender.com",
        "sender_name": "Sender Name",
        "sender_phone_number": "987654321",
        "sender_state": "Sender State",
        "sender_taxid": "Sender Tax",
        "submerchant_code": "Submerchant code"
    }
]
[
    {
        "beneficiary_document_type": "NIT",
        "beneficiary_document_id": "678934013",
        "bank_code": "046",
        "authenticate": false,
        "transaction_id": 318600,
        "payout_id": 61982,
        "status": "Received",
        "Ticket": "16680015870363",
        "submerchant_code": "Submerchant Code",
        "sender_taxid": null,
        "sender_name": null,
        "sender_address": null,
        "sender_state": null,
        "sender_country": null,
        "sender_birthdate": null,
        "sender_email": null,
        "sender_phone_number": null,
        "sender_zip_code": null,
        "beneficiary_name": "Beneficary Name",
        "bank_account_type": "C",
        "beneficiary_account_number": "3554150",
        "beneficiary_address": null,
        "beneficiary_state": null,
        "beneficiary_country": null,
        "beneficiary_birth_date": null,
        "beneficiary_email": null,
        "beneficiary_phone_number": "0",
        "beneficiary_zip_code": null,
        "merchant_id": "1669665000",
        "concept_code": "0001",
        "currency": "BOB",
        "payout_date": "20221128",
        "amount": 5000,
        "exchange_rate": 6768606,
        "ErrorRow": {
            "Errors": [],
            "HasError": false
        }
    }
]o
[
  {
    "beneficiary_document_type": "NIP",
    "beneficiary_document_id": "419326025",
    "bank_code": "003",
    "authenticate": false,
    "transaction_id": 0,
    "payout_id": 0,
    "status": null,
    "Ticket": null,
    "submerchant_code": "merchant_test",
    "sender_taxid": null,
    "sender_name": "SENDER NAME",
    "sender_address": "SENDER ADDRESS",
    "sender_state": "SENDER STATE",
    "sender_country": "SENDER COUNTRY",
    "sender_birthdate": null,
    "sender_email": null,
    "sender_phone_number": null,
    "sender_zip_code": null,
    "beneficiary_name": "Beneficiary Name",
    "bank_account_type": "C",
    "beneficiary_account_number": "7015095588321",
    "beneficiary_address": null,
    "beneficiary_state": null,
    "beneficiary_country": null,
    "beneficiary_birth_date": null,
    "beneficiary_email": null,
    "beneficiary_phone_number": null,
    "beneficiary_zip_code": null,
    "merchant_id": "1669669991",
    "concept_code": "0001",
    "currency": "BOB",
    "payout_date": "20221128",
    "amount": 50100,
    "exchange_rate": 0,
    "ErrorRow": {
      "Errors": [
        {
          "Key": "beneficiary_document_type",
          "Messages": [
            "Parameter :: beneficiary_document_type :: invalid format, only allow codes: 'CI', 'CE', 'NIT', 'PASS' ."
          ],
          "CodeTypeError": [
            "INVALID"
          ]
        }
      ],
      "HasError": true
    }
  }
]
PreviousArgentinaNextBrazil

Last updated 1 year ago

Was this helpful?

1 characters

Check the

Check document_id validation

You can see the concept code

This field is optional, if the information is sent it will be verified. Check In

Bolivia
Bank Codes
Bolivia
Concept Codes
Bolivia