Create payment intent - Point Payments - Mercado Pago Developers
Create payment intent

POST

/point/integration-api/devices/{deviceid}/payment-intents
This endpoint allows to create a payment intent for a device.
Request's parameters
x-test-scope
string
Localization: headerThis is a temporary header, it should be used just for development with the value "sandbox"
deviceId

REQUIRED

string
Localization: pathidentifier of the device that will have a payment intent queued
additional_info
object
Localization: bodypayment intent additional info
amount

REQUIRED

integer
Localization: bodyA positive integer representing how much to charge. The value must have two decimal places in the integer part (e.g., 175 to charge $1.75). The value must be between [100, 5000000] (e.g., a value to charge between $1,00 to $50.000,00 BRL).
Response parameters
id
string
Localization: bodypayment intent identifier
device_id
string
Localization: bodyidentifier of the device that have a payment intent queued
amount
integer
Localization: bodypayment intent amount
description
string
Localization: bodypayment intent description
Request
curl
curl -X POST \
    'https://api.mercadopago.com/point/integration-api/devices/{deviceid}/payment-intents' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '{
  "amount": 1500,
  "description": "your payment intent description",
  "payment": {
    "installments": 1,
    "type": "credit_card",
    "installments_cost": "seller"
  },
  "additional_info": {
    "external_reference": "4561ads-das4das4-das4754-das456",
    "print_on_terminal": true
  }
}'
Answer
json
{
  "id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
  "device_id": "INGENICO_MOVE2500__12345678",
  "amount": 1500,
  "description": "your payment intent description",
  "payment": {
    "installments": 1,
    "type": "credit_card",
    "installments_cost": "seller"
  },
  "additional_info": {
    "external_reference": "someone-reference-from-your-application",
    "print_on_terminal": true
  }
}
Errors
400bad_request
400400-- Bad request - Field is missing o incorrect
401bad_request
401401-- Unauthorized - Token is invalid
403bad_request
403403-- Forbidden - Integrator isn't registered
409bad_request
409409-- Conflict error - Device has a queued payment intent
500bad_request
500500-- Internal server error