Skip to content

Commit fd06792

Browse files
committed
minor bug fixes
1 parent 6b577f4 commit fd06792

File tree

1 file changed

+84
-40
lines changed

1 file changed

+84
-40
lines changed

api-references/payments/billpay/mobile-prepaid-recharge.json

+84-40
Original file line numberDiff line numberDiff line change
@@ -725,47 +725,91 @@
725725
"produces": ["application/json"],
726726
"responses": {
727727
"200": {
728-
"content": {
729-
"application/json": {
730-
"schema": {
731-
"type": "object",
732-
"required": ["success", "data", "trace_id"],
733-
"properties": {
734-
"success": {
735-
"type": "boolean",
736-
"example": "true",
737-
"description": "Status of API call"
738-
},
739-
"data": {
740-
"type": "object",
741-
"properties": {
742-
"transactionId": {
743-
"type": "string",
744-
"example": "TXN12345",
745-
"description": "Unique identifier for the recharge transaction"
746-
},
747-
"status": {
748-
"type": "string",
749-
"example": "SUCCESS",
750-
"description": "Status of the recharge request (e.g., SUCCESS, PENDING, FAILED)"
751-
},
752-
"operatorResponse": {
753-
"type": "string",
754-
"example": "Recharge successful",
755-
"description": "Message returned by the operator for this request"
756-
}
757-
},
758-
"description": "Details of the recharge transaction"
759-
},
760-
"traceId": {
761-
"type": "string",
762-
"example": "dMXpKMx4TBKsu8ro1559WeYZS21Og5",
763-
"description": "Identifier associated with this response for debug purposes"
764-
}
765-
}
766-
}}},
767-
"description": "Ok"
728+
"content": {
729+
"application/json": {
730+
"schema": {
731+
"type": "object",
732+
"required": ["success", "data", "trace_id"],
733+
"properties": {
734+
"success": {
735+
"type": "boolean",
736+
"example": true,
737+
"description": "Status of API call"
738+
},
739+
"data": {
740+
"type": "object",
741+
"properties": {
742+
"error": {
743+
"type": ["string", "null"],
744+
"example": null,
745+
"description": "Error details if any, otherwise null"
746+
},
747+
"details": {
748+
"type": "object",
749+
"properties": {
750+
"mobile_number": {
751+
"type": "string",
752+
"example": "vi",
753+
"description": "Mobile number associated with the transaction"
754+
},
755+
"provider": {
756+
"type": "string",
757+
"example": "vi",
758+
"description": "Provider name"
759+
},
760+
"service_type": {
761+
"type": "string",
762+
"example": "M",
763+
"description": "Service type (e.g., Mobile)"
764+
},
765+
"is_postpaid": {
766+
"type": "boolean",
767+
"example": false,
768+
"description": "Indicates if the mobile number is postpaid"
769+
},
770+
"is_special": {
771+
"type": "boolean",
772+
"example": false,
773+
"description": "Indicates if this is a special service"
774+
}
768775
},
776+
"description": "Additional details about the recharge"
777+
},
778+
"amount": {
779+
"type": "integer",
780+
"example": 1900,
781+
"description": "Recharge amount"
782+
},
783+
"transactionRefId": {
784+
"type": "string",
785+
"example": "CYJSTPM37695672",
786+
"description": "Unique reference ID for the transaction"
787+
},
788+
"status": {
789+
"type": "string",
790+
"example": "Success",
791+
"description": "Status of the recharge transaction"
792+
},
793+
"operatorRefId": {
794+
"type": "string",
795+
"example": "F3MV358Q19",
796+
"description": "Reference ID provided by the operator"
797+
}
798+
},
799+
"description": "Details of the recharge transaction"
800+
},
801+
"trace_id": {
802+
"type": "string",
803+
"example": "cu7it2r6nmjg00e34e8g",
804+
"description": "Identifier associated with this response for debugging purposes"
805+
}
806+
}
807+
}
808+
}
809+
},
810+
"description": "Ok"
811+
}
812+
,
769813
"422": {
770814
"description": "Invalid Request Parameters",
771815
"headers": {

0 commit comments

Comments
 (0)