Skip to content

4-Send Payment

This ':id' refers to 'latam_id' generated in step 1

PUT /api/v1/3ds/order/:id
Host: latamgateway.com
Content-Type: "application/json"
ACCOUNT_TOKEN: "<token>"

{
  "address": {
    "street": "Av Marechal Camara",
    "number": "160",
    "neighborhood": "Centro",
    "complement": "Sala 934",
    "zip": "20020080",
    "city": "Rio de Janeiro",
    "state": "RJ"
  },
  "credit_card": {
    "holder_name": "CUSTOMER F NAME",
    "card_number": "4111111111111111",
    "cvv": "123",
    "due_date": "04/27",
    "brand": "visa",
    "installments": 3
  },
  "credentials": {
    "payment_method_nonce": "d9745a74-7054-104d-72c7-e4eaf1f274ec"
  }
}

Params descriptions

Field Description Value Type Requirement
address.street Street name of the address String Required
address.number Number of the address String Required
address.neighborhood Neighborhood of the address String Required
address.complement Address complement String Required
address.zip ZIP code of the address String Required
address.city City of the address String Required
address.state State abbreviation of the address String Required
credit_card.holder_name Name of the credit card holder String Required
credit_card.card_number Credit card number String Required
credit_card.cvv Credit card CVV code String Required
credit_card.due_date Credit card expiration date String Required
credit_card.brand Credit card brand String Required
credit_card.installments Number of installments for payment Integer Optional
credentials.payment_method_nonce Nonce obtained in step 3 String Required

On a successful request, the response will include the following parameters:

{
  "latam_id": "7c0b8129-f556-4357-bb6e-8189c2943024",
  "status": "waiting_payment"
}

Business errors are returned with a 400 status code. The response will contain the following parameters:

{
  "message": "message of validations errors"
}