Skip to content

Instantly share code, notes, and snippets.

@Xsmael
Last active June 7, 2019 14:16
Show Gist options
  • Save Xsmael/d4fcb3fc2dcd08c2f16b8da52c7a1a53 to your computer and use it in GitHub Desktop.
Save Xsmael/d4fcb3fc2dcd08c2f16b8da52c7a1a53 to your computer and use it in GitHub Desktop.
API response format
{
"msg": String,
"errorCode": Number,
"success": bool
}
// exemple echec
{
"msg": "Echec validation paiement",
"errorCode": 58,
"success": false
}
// exemple succes
{
"success": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment