Tags:
- Phase›Realized
Custom Gateway API Endpoint
Paths
/v1/payments/accounts/payees/external/{customerId}/{accountAliasId}
Retrieve an external account for Pull Payments
Retrieve an external account for Pull Payments
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Customer ID is a key associated with a specific entity or person Citi does business or has some relationship with.
Clave Bancaria Estandarizada(CLABE) Id,si se recibe un 0 no se buscarĂ¡ por este campo
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/payments/accounts/payees/external
Add an external account for Pull Payments
Add an external account for Pull Payments
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Update an external account for Pull Payments
Update an external account for Pull Payments
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Remove an external account for Pull Payments
Remove an external account for Pull Payments
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Country code in 2 character ISO 3166 format
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
Type | Code | Details | More Info |
error | accessNotConfigured | The request operation is not configured to access this resource | Channel/Country/Business provided in the request is not supported currently |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
{
"type": "object",
"properties": {
"account": {
"$ref": "#/definitions/account"
}
}
}
{
"type": "object",
"properties": {
"accountAlias": {
"description": "Clave Bancaria Estandarizada(CLABE)",
"type": "string",
"example": "010296004588765213"
},
"accountStatus": {
"description": "status of the account",
"type": "string",
"example": "ACTIVE"
},
"activationDate": {
"description": "last date of account activation for pull payments",
"type": "string",
"example": "2019-02-22"
},
"bankId": {
"description": "Unique ID of the bank",
"type": "integer",
"example": 9
},
"bankName": {
"description": "Name of the bank",
"type": "string",
"example": "Banco Inbursa, SA"
},
"customerId": {
"description": "Customer ID is a key associated with a specific entity or person Citi does business or has some relationship with.",
"type": "integer",
"example": 12345678
},
"customerName": {
"description": "Customer Name",
"type": "string",
"example": "Josue"
},
"enrollmentDate": {
"description": "date of account enrollment for pull payments",
"type": "string",
"example": "2019-02-22"
},
"payeeName": {
"description": "Nick name of the account as defined by the user",
"type": "string",
"example": "My CLABE Account"
},
"cardPlastic": {
"$ref": "#/definitions/cardPlastic"
}
},
"required": [
"accountAlias",
"bankId",
"bankName",
"customerId",
"customerName",
"payeeName"
]
}
{
"type": "object",
"properties": {
"displayAccountAlias": {
"description": "Clave Bancaria Estandarizada(CLABE) enmascarada",
"type": "string",
"example": "5213"
},
"accountAliasId": {
"description": "Clave Bancaria Estandarizada(CLABE) Id",
"type": "string",
"example": "12345"
},
"accountStatus": {
"description": "status of the account",
"type": "string",
"example": "ACTIVE"
},
"activationDate": {
"description": "last date of account activation for pull payments",
"type": "string",
"example": "2019-02-22"
},
"bankId": {
"description": "Unique ID of the bank",
"type": "integer",
"example": 9
},
"bankName": {
"description": "Name of the bank",
"type": "string",
"example": "Banco Inbursa, SA"
},
"customerId": {
"description": "Customer ID is a key associated with a specific entity or person Citi does business or has some relationship with.",
"type": "integer",
"example": 12345678
},
"enrollmentDate": {
"description": "date of account enrollment for pull payments",
"type": "string",
"example": "2019-02-22"
},
"payeeName": {
"description": "Nick name of the account as defined by the user",
"type": "string",
"example": "My CLABE Account"
},
"cardPlastic": {
"$ref": "#/definitions/cardPlasticResponse"
}
},
"required": [
"accountAlias",
"bankId",
"bankName",
"customerId",
"payeeName"
]
}
{
"type": "object",
"properties": {
"payeeName": {
"description": "Nick name of the account as defined by the user",
"type": "string",
"example": "My CLABE Account"
},
"customerName": {
"description": "Customer Name",
"type": "string",
"example": "Josue"
},
"cardPlastic": {
"$ref": "#/definitions/cardPlastic"
}
},
"required": [
"payeeName",
"customerName",
"bankName"
]
}
{
"type": "object",
"properties": {
"cardNumber": {
"description": "It is a 16 digit number, typically imprinted on the front of the card",
"type": "string",
"example": "10"
},
"expiryDate": {
"description": "Expiry date of the card",
"type": "string",
"example": "2018-05"
},
"withdrawalLimitAmount": {
"description": "Indicates the maximum amount card holder can transfer from the external account",
"type": "string",
"example": "10000"
}
},
"required": [
"withdrawalLimitAmount"
]
}
{
"type": "object",
"properties": {
"cardNumber": {
"description": "It is a 16 digit number, typically imprinted on the front of the card",
"type": "string",
"example": "10"
},
"expiryDate": {
"description": "Expiry date of the card",
"type": "string",
"example": "2018-05"
},
"withdrawalLimitAmount": {
"description": "Indicates the maximum amount card holder can transfer from the external account",
"type": "string",
"example": "10000"
}
}
}
{
"type": "object",
"properties": {
"externalAccount": {
"type": "array",
"items": {
"$ref": "#/definitions/accountResponse"
}
}
}
}
{
"type": "object",
"properties": {
"accountAliasId": {
"description": "Clave Bancaria Estandarizada(CLABE) Id",
"type": "string",
"example": "12345"
},
"customerName": {
"description": "Customer Name",
"type": "string",
"example": "Josue"
}
},
"required": [
"accountAliasId",
"customerName",
"bankName"
]
}
{
"type": "object",
"properties": {
"successfulOperation": {
"description": "result indicator",
"type": "boolean",
"example": true
},
"notificationSent": {
"description": "notification sent indicator",
"type": "boolean",
"example": true
},
"folioId": {
"description": "folio assigned to the transaction",
"type": "string",
"example": true
},
"displayAccountAlias": {
"description": "Clave Bancaria Estandarizada(CLABE) enmascarada",
"type": "string",
"example": "5213"
},
"bankId": {
"description": "Unique ID of the bank",
"type": "integer",
"example": 9
},
"bankName": {
"description": "Name of the bank",
"type": "string",
"example": "Banco Inbursa, SA"
},
"payeeName": {
"description": "Nick name of the account as defined by the user",
"type": "string",
"example": "My CLABE Account"
},
"withdrawalLimitAmount": {
"description": "Indicates the maximum amount card holder can transfer from the external account",
"type": "string",
"example": "10000"
}
}
}
{
"type": "object",
"properties": {
"accountAliasId": {
"description": "Clave Bancaria Estandarizada(CLABE) Id",
"type": "string",
"example": "12345"
},
"updatedAccount": {
"$ref": "#/definitions/updatedAccount"
}
},
"required": [
"accountAliasId"
]
}
{
"type": "object",
"properties": {
"successfulOperation": {
"description": "result indicator",
"type": "boolean",
"example": true
},
"notificationSent": {
"description": "notification sent indicator",
"type": "boolean",
"example": true
},
"folioId": {
"description": "folio assigned to the transaction",
"type": "string",
"example": true
},
"displayAccountAlias": {
"description": "Clave Bancaria Estandarizada(CLABE) enmascarada",
"type": "string",
"example": "5213"
},
"bankId": {
"description": "Unique ID of the bank",
"type": "integer",
"example": 9
},
"bankName": {
"description": "Name of the bank",
"type": "string",
"example": "Banco Inbursa, SA"
},
"payeeName": {
"description": "Nick name of the account as defined by the user",
"type": "string",
"example": "My CLABE Account"
},
"withdrawalLimitAmount": {
"description": "Indicates the maximum amount card holder can transfer from the external account",
"type": "string",
"example": "10000"
}
}
}
{
"properties": {
"type": {
"type": "string",
"description": "Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again",
"enum": [
"error",
"warn",
"invalid",
"fatal"
]
},
"code": {
"description": "Error code which qualifies the error",
"type": "string"
},
"details": {
"description": "Human readable explanation specific to the occurrence of the problem",
"type": "string"
},
"location": {
"description": "The name of the field that resulted in the error",
"type": "string"
},
"moreInfo": {
"description": "URI to human readable documentation or detailed description of the error",
"type": "string"
},
"uuid": {
"description": "128 bit UUID that you generate for every request",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}