GET api/OnBoarding/{GrantorTaxId}/GetReference/{Term}?GroupId={GroupId}

Generar referencia

Request Information

URI Parameters

NameDescriptionTypeAdditional information
GrantorTaxId

string

Required

Term

integer

Required

GroupId

integer

None.

Body Parameters

None.

Response Information

Resource Description

ResponseModelApiOfOnBoardingPaymentReturnApiModel
NameDescriptionTypeAdditional information
success

Indica si la solicitud se procesó de manera satisfactoria

boolean

None.

message

Mensaje de la solicitud

string

None.

messageDetail

Lista de mensajes

Collection of string

None.

failureCode

Código de error en caso de existir

string

None.

data

Layout de respuesta de la solicitud

OnBoardingPaymentReturnApiModel

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "messageDetail": [
    "sample string 1",
    "sample string 2"
  ],
  "failureCode": "sample string 3",
  "data": {
    "InscriptionAmount": 1.0,
    "Amount": 2.0,
    "Reference": 3,
    "CLABE": "sample string 4",
    "Beneficiary": "sample string 5",
    "Bank": "sample string 6",
    "TotalAmount": 3.0,
    "withPayment": true,
    "PaymentProviders": [
      {
        "Provider": "sample string 1",
        "Method": "sample string 2",
        "Code": "sample string 3"
      },
      {
        "Provider": "sample string 1",
        "Method": "sample string 2",
        "Code": "sample string 3"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<ResponseModelApiOfOnBoardingPaymentReturnApiModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <success>true</success>
  <message>sample string 2</message>
  <messageDetail>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </messageDetail>
  <failureCode>sample string 3</failureCode>
  <data>
    <InscriptionAmount>1</InscriptionAmount>
    <Amount>2</Amount>
    <Reference>3</Reference>
    <CLABE>sample string 4</CLABE>
    <Beneficiary>sample string 5</Beneficiary>
    <Bank>sample string 6</Bank>
    <withPayment>true</withPayment>
    <PaymentProviders>
      <PaymentProviderApiModel>
        <Provider>sample string 1</Provider>
        <Method>sample string 2</Method>
        <Code>sample string 3</Code>
      </PaymentProviderApiModel>
      <PaymentProviderApiModel>
        <Provider>sample string 1</Provider>
        <Method>sample string 2</Method>
        <Code>sample string 3</Code>
      </PaymentProviderApiModel>
    </PaymentProviders>
  </data>
</ResponseModelApiOfOnBoardingPaymentReturnApiModel>