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

REQUIRED

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, 250000] (e.g., a value to charge between $1,00 to $250.000,00 ARS)
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
additional_info
object
Localization: body
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,
  "additional_info": {
    "external_reference": "some-reference-from-your-application",
    "print_on_terminal": true,
    "ticket_number": "S0392JED"
  }
}'
Answer
json
{
  "id": "7f25f9aa-eea6-4f9c-bf16-a341f71ba2f1",
  "device_id": "INGENICO_MOVE2500__ING-23976989",
  "amount": 1500,
  "additional_info": {
    "external_reference": "some-reference-from-your-application",
    "print_on_terminal": true,
    "ticket_number": "S0392JED"
  }
}
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