-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2417 from mercadopago/feature/partners-guide-tran…
…slation Partners guide para hispanos - Tradução e localização
- Loading branch information
Showing
45 changed files
with
2,508 additions
and
301 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Payment model - Bank Slip | ||
|
||
By default, the due date for payments via bank slip is 3 days. However, it is possible to change this setting at the time of creation by using the `date_of_expiration` field in the payment creation request, defining a period between 1 and 30 days from the issue date of the bank slip. | ||
|
||
To use this field, it is necessary to follow the ISO 8601 date format: yyyy-MM-dd'T'HH:mm:ssz. | ||
|
||
Example: | ||
|
||
```curl | ||
"date_of_expiration": "2023-01-28T22:59:59.000-04:00" | ||
``` | ||
|
||
```curl | ||
curl --location --request POST 'https://api.mercadopago.com/v1/payments' \ | ||
--header 'x-platform-id: {{PLATFORM_ID provided by the Partners team}}' \ | ||
--header 'Authorization: Bearer {{ACCESS_TOKEN}}' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"transaction_amount": 100, | ||
"installments": 1, | ||
"statement_descriptor": "Seller's store", | ||
"capture": true, | ||
"binary_mode": false, | ||
"sponsor_id": {{ID of your Mercado Pago account related to your platform}}, | ||
"payment_method_id": "bolbradesco", | ||
"date_of_expiration": "2023-02-28T22:59:59.000-04:00", | ||
"external_reference": "Platform identifier", | ||
"notification_url": "{{notification_url}}", | ||
"description": "Seller's product description", | ||
"payer": { | ||
"first_name": "Name. Example: John", | ||
"last_name": "Last name. Example: Jones", | ||
"email": "Example: test_user_{{$timestamp}}@testuser.com", | ||
"identification": { | ||
"type": "Document type. Example: CPF", | ||
"number": "Document number. Example: 19119119100" | ||
}, | ||
"address": { | ||
"zip_code": "Zip code. Example: 06233-200", | ||
"street_name": "Street name. Example: Av. das Nações Unidas", | ||
"street_number": "Number. Example: 3003", | ||
"neighborhood": "Neighborhood. Example: Bonfim", | ||
"city": "City. Example: Osasco", | ||
"federal_unit": "Federal unit. Example: SP" | ||
} | ||
}, | ||
"additional_info": { | ||
"referral_url": "Referral USP. Example: www.sellertest123.com", | ||
"drop_shipping": true, | ||
"delivery_promise": "2022-11-20", | ||
"contrated_plan": "premium", | ||
"items": [ | ||
{ | ||
"id": "1941", | ||
"title": "Seller's product", | ||
"description": "Description of the seller's product", | ||
"picture_url": null, | ||
"category_id": "electronics", | ||
"quantity": 1, | ||
"unit_price": 100.00 | ||
} | ||
], | ||
"payer": { | ||
"first_name": "Name. Example: John", | ||
"last_name": "Last name. Example: Jones", | ||
"is_prime_user": "1", | ||
"is_first_purchase_online": "1", | ||
"last_purchase": "2019-10-25T19:30:00.000-03:00", | ||
"phone": { | ||
"area_code": "Area code. Example: 11", | ||
"number": "Number. Example: 987654321" | ||
}, | ||
"address": { | ||
"zip_code": "Zip code. Example: 06233-200", | ||
"street_name": "Street name. Example: Av. das Nações Unidas", | ||
"street_number": "Number. Example: 3003" | ||
}, | ||
"registration_date": "2013-08-06T09:25:04.000-03:00" | ||
}, | ||
"shipments": { | ||
"express_shipment": "0", | ||
"pick_up_on_seller": "1", | ||
"receiver_address": { | ||
"zip_code": "Zip code. Example: 95630000", | ||
"street_name": "Street name. Example: São Luiz", | ||
"street_number": "Number. Example: 15", | ||
"floor": "Floor (if it's an apartment). Example: Second", | ||
"apartment": "Apartment number (if it's an apartment). Example: 93" | ||
} | ||
} | ||
} | ||
}' | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
# Modelo de pago - Boleto Bancario | ||
|
||
Por defecto, el período de vencimiento para pagos mediante boleto bancario es de 3 días. Sin embargo, es posible cambiar la configuración en el momento de la creación, utilizando el campo `date_of_expiration` en la solicitud de creación del pago, definiendo un período entre 1 y 30 días a partir de la fecha de emisión del boleto. | ||
|
||
Para utilizar este campo, es necesario seguir el formato de fecha ISO 8601: yyyy-MM-dd'T'HH:mm:ssz. | ||
|
||
Ejemplo: | ||
|
||
```curl | ||
"date_of_expiration": "2023-01-28T22:59:59.000-04:00" | ||
``` | ||
|
||
```curl | ||
curl --location --request POST 'https://api.mercadopago.com/v1/payments' \ | ||
--header 'x-platform-id: {{PLATFORM_ID proporcionado por el equipo de Partners}}' \ | ||
--header 'Authorization: Bearer {{ACCESS_TOKEN}}' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"transaction_amount": 100, | ||
"installments": 1, | ||
"statement_descriptor": "Tienda del vendedor", | ||
"capture": true, | ||
"binary_mode": false, | ||
"sponsor_id": {{ID de su cuenta Mercado Pago referente a su plataforma}}, | ||
"payment_method_id": "bolbradesco", | ||
"date_of_expiration": "2023-02-28T22:59:59.000-04:00", | ||
"external_reference": "Identificador de la plataforma", | ||
"notification_url": "{{notification_url}}", | ||
"description": "Descripción del producto del vendedor", | ||
"payer": { | ||
"first_name": "Nombre. Ejemplo: John", | ||
"last_name": "Apellido. Ejemplo: Jones", | ||
"email": "Ejemplo: test_user_{{$timestamp}}@testuser.com", | ||
"identification": { | ||
"type": "Tipo de documento.", | ||
"number": "Número del documento. Ejemplo: 19119119100" | ||
}, | ||
"address": { | ||
"zip_code": "Código postal. Ejemplo: 06233-200", | ||
"street_name": "Nombre de la calle. Ejemplo: Av. das Nações Unidas", | ||
"street_number": "Número de la calle. Ejemplo: 3003", | ||
"neighborhood": "Barrio. Ejemplo: Bonfim", | ||
"city": "Ciudad. Ejemplo: Osasco", | ||
"federal_unit": "UF. Ejemplo: SP" | ||
} | ||
}, | ||
"additional_info": { | ||
"referral_url": "URL de referencia. Ejemplo: www.sellertest123.com", | ||
"drop_shipping": true, | ||
"delivery_promise": "2022-11-20", | ||
"contrated_plan": "premium", | ||
"items": [ | ||
{ | ||
"id": "1941", | ||
"title": "Producto del vendedor", | ||
"description": "Descripción del producto del vendedor", | ||
"picture_url": null, | ||
"category_id": "Categoría. Ejemplo: electronics", | ||
"quantity": 1, | ||
"unit_price": 100.00 | ||
} | ||
], | ||
"payer": { | ||
"first_name": "Nombre. Ejemplo: John", | ||
"last_name": "Apellido. Ejemplo: Jones", | ||
"is_prime_user": "1", | ||
"is_first_purchase_online": "1", | ||
"last_purchase": "2019-10-25T19:30:00.000-03:00", | ||
"phone": { | ||
"area_code": "Código de área. Ejemplo: 11", | ||
"number": "Número del teléfono. Ejemplo: 987654321" | ||
}, | ||
"address": { | ||
"zip_code": "Código postal. Ejemplo: 06233-200", | ||
"street_name": "Nombre de la calle. Ejemplo: Av. das Nações Unidas", | ||
"street_number": "Número. Ejemplo: 3003" | ||
}, | ||
"registration_date": "2013-08-06T09:25:04.000-03:00" | ||
}, | ||
"shipments": { | ||
"express_shipment": "0", | ||
"pick_up_on_seller": "1", | ||
"receiver_address": { | ||
"zip_code": "Código postal. Ejemplo: 95630000", | ||
"street_name": "Nombre de la calle. Ejemplo: São Luiz", | ||
"street_number": "Número. Ejemplo: 15", | ||
"floor": "Piso (si es un apartamento). Ejemplo: Segundo", | ||
"apartment": "Número del apartamento (si es un apartamento). Ejemplo: 93" | ||
} | ||
} | ||
} | ||
}' | ||
``` |
This file contains 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
84 changes: 84 additions & 0 deletions
84
guides/integration-guide-for-partners/credit-card-events.en.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# Payment model with credit card - Events/Tickets | ||
|
||
```curl | ||
curl --location --request POST 'https://api.mercadopago.com/v1/payments' \ | ||
--header 'x-platform-id: {{PLATFORM_ID provided by the Partners team}}' \ | ||
--header 'Authorization: Bearer {{ACCESS_TOKEN}}' \ | ||
--header 'Content-Type: application/json' \ | ||
--data-raw '{ | ||
"transaction_amount": 120.34, | ||
"installments": 1, | ||
"statement_descriptor": "Seller's store", | ||
"capture": true, | ||
"binary_mode": false, | ||
"sponsor_id": {{ID of your Mercado Pago account related to your platform}}, | ||
"payment_method_id": "{{payment_method_id}}", | ||
"token": "{{card_token_id}}", | ||
"external_reference": "Platform identifier", | ||
"notification_url": "{{notification_url}}", | ||
"description": "Date (in the format dd/mm/yyyy) | Event name", | ||
"payer": { | ||
"first_name": "Name. Example: John", | ||
"last_name": "Last name. Example: Jones", | ||
"email": "Example: test_user_1677281849@testuser.com", | ||
"identification": { | ||
"type": "Document type. Example: CPF", | ||
"number": "Document number. Example: 19119119100" | ||
}, | ||
"address": { | ||
"zip_code": "Zip code. Example: 06233-200", | ||
"street_name": "Street name. Example: Av. das Nações Unidas", | ||
"street_number": "Number. Example: 3003", | ||
"neighborhood": "Neighborhood. Example: Bonfim", | ||
"city": "City. Example: Osasco", | ||
"federal_unit": "Federal unit. Example: SP" | ||
} | ||
}, | ||
"additional_info": { | ||
"referral_url": "Referral URL. Example: www.sellertest123.com", | ||
"drop_shipping": false, | ||
"delivery_promise": "2022-11-20", | ||
"contrated_plan": "premium", | ||
"items": [ | ||
{ | ||
"id": "1941", | ||
"title": "Date (in the format dd/mm/yyyy) | Event name", | ||
"description": "Date (in the format dd/mm/yyyy) | Event name", | ||
"picture_url": null, | ||
"category_id": "Category. Example: tickets", | ||
"quantity": 1, | ||
"unit_price": 120.34, | ||
"event_date": "2019-12-25T19:30:00.000-03:00" | ||
} | ||
], | ||
"payer": { | ||
"first_name": "Name. Example: John", | ||
"last_name": "Last name. Example: Jones", | ||
"is_prime_user": "1", | ||
"is_first_purchase_online": "1", | ||
"last_purchase": "2020-10-25T19:30:00.000-03:00", | ||
"phone": { | ||
"area_code": "Area code. Example: 11", | ||
"number": "Phone number. Example: 987654321" | ||
}, | ||
"address": { | ||
"zip_code": "Zip code. Example: 06233-200", | ||
"street_name": "Street name. Example: Av. das Nações Unidas", | ||
"street_number": "Number. Example: 3003" | ||
}, | ||
"registration_date": "2013-08-06T09:25:04.000-03:00" | ||
}, | ||
"shipments": { | ||
"express_shipment": "0", | ||
"pick_up_on_seller": "1", | ||
"receiver_address": { | ||
"zip_code": "Zip code. Example: 95630000", | ||
"street_name": "Street name. Example: São Luiz", | ||
"street_number": "Number. Example: 15", | ||
"floor": "Floor (in case it is an apartment). Example: Second", | ||
"apartment": "Apartment number (in case it is an apartment). Example: 93" | ||
} | ||
} | ||
} | ||
}' | ||
``` |
Oops, something went wrong.