Payment request updated
Event schema of a payment request update
Type: object
Additional properties: false
Domain: saga
Event: payment_request_updated
Version: 1
amount
Title: Amount
Description: The amount of payment request.
Type: number
Example:
10.0
payment_id required
Title: Payment ID
Description: Id generated for the payment request.
Type: integer
Example:
997349
payment_description
Title: Payment description
Description: Description provided in the payment request
Type: string
Example:
Dinner
payment_status
Title: Payment status
Description: Payment request status
Type: string
Example:
SETTLED
REJECTED
CANCELLED
payment_type
Title: Payment type
Description: Payment request type. The types are defined by the customer
Type: string
Example:
SPLIT
PAYREQ
update_date
Title: Update date
Description: update date of the payment request
Type: string
Format: date-time
Example:
2020-05-11T13:00:44.452Z
source_holder required
Title: Account Holder
Type: ['object', 'null']name
Title: Name
Description: Account holder name
Type: string
Example:
Name Example
legal_name
Title: Legal Name
Description: Account holder legal name
Type: string
Example:
Name Example
document_number
Title: Document number
Description: Account holder document number
Type: string
Example:
58791699363
entity_type
Title: entity type
Description: Identifies if the account holder is a person or a company
Type: string
Example:
F
phone_country_code
Title: Phone country code
Description: Account holder phone country code
Type: string
Example:
55
phone_area_code
Title: Phone area code
Description: Account holder phone code of the area (state/uf/province)
Type: string
Example:
11
phone_number
Title: Phone number
Description: Account holder phone number
Type: string or null
Example:
988887777
external_id
Title: External ID
Description: External correlation identifier
Type: string
Example:
b133facc-7db7-4ddb-8b68-946350bd4787
64178639641
eRkgbzeF
bankaccount
Title: Bank Account
Type: ['object', 'null']bank required
Title: Bank Code
Description: Identifies the bank
Type: string
Max length: 3
Example:
341
branch required
Title: Branch Branch
Description: Identifies the bank's branch
Type: string
Max length: 5
Example:
0500
account_number required
Title: Account number
Description: identifier of a specific user's bank account
Type: string
Max length: 12
Example:
000000001
check_digit required
Title: Check digit
Description: The check digit of the account number
Type: string
Max length: 8
Example:
8
program_id
Title: Program ID
Description: Program identifier of the source holder
Type: integer
Example:
540
account_id
Title: Account ID
Description: Pismo's account identifier
Type: integer
Example:
1
status
Title: Status
Description: Flag that Identifies the status of the bank account
Type: string
Example:
ACTIVE
BLOCKED
INACTIVE
destination_holder required
Title: Account Holder
Type: ['object', 'null']name
Title: Name
Description: Account holder name
Type: string
Example:
Name Example
legal_name
Title: Legal Name
Description: Account holder legal name
Type: string
Example:
Name Example
document_number
Title: Document number
Description: Account holder document number
Type: string
Example:
58791699363
entity_type
Title: entity type
Description: Identifies if the account holder is a person or a company
Type: string
Example:
F
phone_country_code
Title: Phone country code
Description: Account holder phone country code
Type: string
Example:
55
phone_area_code
Title: Phone area code
Description: Account holder phone code of the area (state/uf/province)
Type: string
Example:
11
phone_number
Title: Phone number
Description: Account holder phone number
Type: string or null
Example:
988887777
external_id
Title: External ID
Description: External correlation identifier
Type: string
Example:
b133facc-7db7-4ddb-8b68-946350bd4787
64178639641
eRkgbzeF
bankaccount
Title: Bank Account
Type: ['object', 'null']bank required
Title: Bank Code
Description: Identifies the bank
Type: string
Max length: 3
Example:
341
branch required
Title: Branch Branch
Description: Identifies the bank's branch
Type: string
Max length: 5
Example:
0500
account_number required
Title: Account number
Description: identifier of a specific user's bank account
Type: string
Max length: 12
Example:
000000001
check_digit required
Title: Check digit
Description: The check digit of the account number
Type: string
Max length: 8
Example:
8
program_id
Title: Program ID
Description: Program identifier of the source holder
Type: integer
Example:
540
account_id
Title: Account ID
Description: Pismo's account identifier
Type: integer
Example:
1
status
Title: Status
Description: Flag that Identifies the status of the bank account
Type: string
Example:
ACTIVE
BLOCKED
INACTIVE
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "http://example.com/example.json",
"type": "object",
"title": "Payment request updated",
"description": "Event schema of a payment request update ",
"default": {},
"required": [
"payment_id",
"source_holder",
"destination_holder"
],
"additionalProperties": false,
"properties": {
"amount": {
"type": "number",
"title": "Amount",
"description": "The amount of payment request.",
"examples": [
10.0
]
},
"payment_id": {
"type": "integer",
"title": "Payment ID",
"description": "Id generated for the payment request.",
"examples": [
997349
]
},
"payment_description": {
"type": "string",
"title": "Payment description",
"description": "Description provided in the payment request",
"examples": [
"Dinner"
]
},
"payment_status": {
"type": "string",
"title": "Payment status",
"description": "Payment request status",
"examples": [
"SETTLED",
"REJECTED",
"CANCELLED"
]
},
"payment_type": {
"type": "string",
"title": "Payment type",
"description": "Payment request type. The types are defined by the customer",
"examples": [
"SPLIT",
"PAYREQ"
]
},
"update_date": {
"type": "string",
"format": "date-time",
"title": "Update date",
"description": "update date of the payment request",
"examples": [
"2020-05-11T13:00:44.452Z"
]
},
"source_holder": {
"$ref": "#/definitions/account_holder"
},
"destination_holder": {
"$ref": "#/definitions/account_holder"
}
},
"definitions": {
"account_holder": {
"type": [
"object",
"null"
],
"title": "Account Holder",
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "Account holder name",
"examples": [
"Name Example"
]
},
"legal_name": {
"type": "string",
"title": "Legal Name",
"description": "Account holder legal name",
"examples": [
"Name Example"
]
},
"document_number": {
"type": "string",
"title": "Document number",
"description": "Account holder document number",
"examples": [
"58791699363"
]
},
"entity_type": {
"type": "string",
"title": "entity type",
"description": "Identifies if the account holder is a person or a company",
"examples": [
"F"
]
},
"phone_country_code": {
"type": "string",
"title": "Phone country code",
"description": "Account holder phone country code",
"examples": [
"55"
]
},
"phone_area_code": {
"type": "string",
"title": "Phone area code",
"description": "Account holder phone code of the area (state/uf/province)",
"examples": [
"11"
]
},
"phone_number": {
"type": [
"string",
"null"
],
"title": "Phone number",
"description": "Account holder phone number",
"examples": [
"988887777"
]
},
"external_id": {
"type": "string",
"title": "External ID",
"description": "External correlation identifier",
"examples": [
"b133facc-7db7-4ddb-8b68-946350bd4787",
"64178639641",
"eRkgbzeF"
]
},
"bankaccount": {
"$ref": "#/definitions/bankaccount"
}
}
},
"bankaccount": {
"type": [
"object",
"null"
],
"title": "Bank Account",
"required": [
"bank",
"branch",
"account_number",
"check_digit"
],
"properties": {
"bank": {
"type": "string",
"maxLength": 3,
"title": "Bank Code",
"description": "Identifies the bank",
"examples": [
"341"
]
},
"branch": {
"type": "string",
"maxLength": 5,
"title": "Branch Branch",
"description": "Identifies the bank's branch",
"examples": [
"0500"
]
},
"account_number": {
"type": "string",
"maxLength": 12,
"title": "Account number",
"description": "identifier of a specific user's bank account",
"examples": [
"000000001"
]
},
"check_digit": {
"type": "string",
"maxLength": 8,
"title": "Check digit",
"description": "The check digit of the account number",
"examples": [
"8"
]
},
"program_id": {
"type": "integer",
"title": "Program ID",
"description": "Program identifier of the source holder",
"examples": [
540
]
},
"account_id": {
"type": "integer",
"title": "Account ID",
"description": "Pismo's account identifier",
"examples": [
1
]
},
"status": {
"type": "string",
"title": "Status",
"description": "Flag that Identifies the status of the bank account",
"examples": [
"ACTIVE",
"BLOCKED",
"INACTIVE"
]
}
}
}
}
}
{
"amount": 10.0,
"payment_id": 997349,
"payment_description": "Dinner",
"payment_status": "SETTLED",
"payment_type": "SPLIT",
"update_date": "2020-05-11T13:00:44.452Z",
"source_holder": {
"name": "Name Example",
"legal_name": "Name Example",
"document_number": "58791699363",
"entity_type": "F",
"phone_country_code": "55",
"phone_area_code": "11",
"phone_number": "988887777",
"external_id": "b133facc-7db7-4ddb-8b68-946350bd4787",
"bankaccount": {
"bank": "341",
"branch": "0500",
"account_number": "000000001",
"check_digit": "8",
"program_id": 540,
"account_id": 1,
"status": "ACTIVE"
}
},
"destination_holder": {
"name": "Name Example",
"legal_name": "Name Example",
"document_number": "58791699363",
"entity_type": "F",
"phone_country_code": "55",
"phone_area_code": "11",
"phone_number": "988887777",
"external_id": "b133facc-7db7-4ddb-8b68-946350bd4787",
"bankaccount": {
"bank": "341",
"branch": "0500",
"account_number": "000000001",
"check_digit": "8",
"program_id": 540,
"account_id": 1,
"status": "ACTIVE"
}
}
}
Updated 23 days ago