Create a purchase order of type bank.

Parámetros URI


Uuid ( string )

Gets or sets unique business identifier (UUID).

Required

Matching regular expression pattern: [0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}

uuid ( string )

Atributos de la petición


TransactionType ( TransactionType )

Gets or sets payment way Bank, Store, Oxxo, Card.

Required

TransactionUuid ( globally unique identifier )

Gets or sets unique identifier defined by Freshbooks.

Required

PackageUuid ( globally unique identifier )

Gets or sets Freshbooks product identifier.

Required

Amount ( decimal number )

Gets or sets Amount in MXN currency with taxes VAT included.

Required

Range: inclusive between 0,01 and 1,79769313486232E+308

Description ( string )

Gets or sets the product description, max length 250.

Required

String length: inclusive between 1 and 250

Argumentos de respuesta

Transaction Id of the Payment Gateway

PurchaseOrderBankViewModel

PaymentGatewayTransactionId ( string )

Gets or sets Transaction Id of the Payment Gateway.

http method:

POST

https://apisandbox.facturama.mx/api-lite/freshbooks/{Uuid}/purchase-orders/bank

Ejemplo de Petición

application/json, text/json

Ejemplo:
{
  "TransactionType": 0,
  "TransactionUuid": "672d0319-cd3e-41d7-9f63-0279e811c15f",
  "PackageUuid": "671ed2d1-cca3-4d64-b099-6a0d6e3361e7",
  "Amount": 3.0,
  "Description": "sample string 4"
}

Ejemplo de Respuesta

application/json, text/json

Ejemplo:
{
  "PaymentGatewayTransactionId": "sample string 1"
}