gistfile1
gistfile1
"name": "transaction.created",
"object": "transaction",
"entity": {
"klass": "v1/transaction",
"id": 250828,
"reference": "trx_Vo4_1719781861514",
"amount": 9113,
"description": "Paiement de la commande #21. Repas : 5000 F CFA, Livraison : 213
F CFA, Total : 9113 F CFA.",
"callback_url": "https://sandbox-checkout.fedapay.com/transactions/callback?
secured_id=&secured_id=secured_id_ckh8gpjxj",
"status": "approved",
"customer_id": 25376,
"currency_id": 1,
"mode": "moov",
"operation": "payment",
"metadata": {
"expire_schedule_jobid": "e50da188f5f7c548af750a6c",
"paid_customer": {
"firstname": "H",
"lastname": "K",
"email": "[email protected]"
},
"transfer_schedule_jobid": "9c7adfe670f8d33fd812e229"
},
"commission": "0.018",
"fees": 167,
"fixed_commission": 0,
"amount_transferred": 9113,
"created_at": "2024-06-30T21:11:01.513Z",
"updated_at": "2024-06-30T21:12:48.085Z",
"approved_at": "2024-06-30T21:12:47.627Z",
"canceled_at": null,
"declined_at": null,
"refunded_at": null,
"transferred_at": null,
"deleted_at": null,
"last_error_code": "API_ERROR",
"custom_metadata": {
"id_commande": "21"
},
"amount_debited": 9280,
"receipt_url": "https://sandbox-api.fedapay.com/v1/transactions/receipt?
token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjI1MDgyOCwiZXhwIjoxNzE5ODY4MzY3
fQ.510mjde9vcMoYPaP-R_rSEOvBJTyK04e4Lw6EQtxaIw",
"payment_method_id": 79062,
"sub_accounts_commissions": null,
"transaction_key": "1803322096256732",
"merchant_reference": null,
"account_id": 9976,
"balance_id": 236988,
"customer": {
"klass": "v1/customer",
"id": 25376,
"firstname": "Unknown",
"lastname": "Unknown",
"full_name": "Unknown Unknown",
"email": null,
"account_id": 9976,
"phone_number_id": null,
"created_at": "2024-06-30T21:11:01.507Z",
"updated_at": "2024-06-30T21:11:01.507Z",
"deleted_at": null
},
"currency": {
"klass": "v1/currency",
"id": 1,
"name": "FCFA",
"iso": "XOF",
"code": 952,
"prefix": null,
"suffix": "CFA",
"div": 1,
"default": true,
"created_at": "2018-05-27T21:26:23.618Z",
"updated_at": "2024-06-16T16:41:46.068Z",
"modes": [
"mtn",
"cybersource",
"moov",
"mtn_ci",
"moov_tg",
"orange_ci",
"orange_sn",
"free_sn",
"airtel_ne",
"togocel",
"orange_ml",
"mtn_open",
"mtn_ecw",
"ecobank_tpe",
"orabank_tpe",
"uba",
"stripe_gw",
"uba_atm",
"bmo",
"mtn_open_ci",
"sbin",
"wave_sn",
"wave_ci",
"moov_ci",
"moov_bf",
"orange_bf",
"coris_money"
]
},
"payment_method": {
"klass": "v1/payment_method",
"id": 79062,
"brand": "moov",
"country": "BJ",
"number": "22964000001",
"deleted_at": null,
"created_at": "2024-06-30T21:12:47.197Z",
"updated_at": "2024-06-30T21:12:47.197Z",
"method": "phone"
},
"balance": {
"klass": "v1/balance",
"id": 236988,
"amount": 0,
"mode": "moov",
"created_at": "2024-06-29T14:46:59.922Z",
"updated_at": "2024-06-29T14:46:59.922Z"
},
"refunds": []
},
"account": {
"klass": "v1/account",
"id": 9976,
"name": "LeTransporteur",
"timezone": "UTC",
"country": "BJ",
"created_at": "2024-06-29T14:46:59.720Z",
"updated_at": "2024-06-29T14:46:59.720Z",
"verified": false,
"reference": "acc_1072522605",
"business_type": null,
"business_identity_type": null,
"business_identity_number": null,
"business_vat_number": null,
"business_registration_number": null,
"business_category": null,
"blocked": false,
"business_website": null,
"business_address": null,
"business_name": null,
"business_phone": null,
"business_email": null,
"business_owner": null,
"business_company_capital": null,
"business_description": null,
"submitted": false,
"reject_reason": null,
"has_balance_issue": false,
"last_balance_issue_checked_at": null,
"prospect_code": null,
"deal_closer_code": null,
"manager_code": null,
"business_identity_id": null,
"business_vat_id": null,
"business_registration_id": null,
"business_owner_signature_id": null,
"business_identity": null,
"business_vat": null,
"business_registration": null,
"business_owner_signature": null,
"user_accounts": [
{
"klass": "v1/user_account",
"id": 10018,
"account_id": 9976,
"user_id": 1848,
"role_id": 1
}
],
"users": [
{
"klass": "v1/user",
"id": 1848,
"email": "[email protected]",
"confirmed_at": "2021-03-12T04:58:06.846Z",
"reset_sent_at": null,
"admin": false,
"admin_role": "user",
"created_at": "2021-03-12T04:56:50.557Z",
"updated_at": "2021-03-12T04:58:06.850Z",
"firstname": "Hamid",
"lastname": "Kpetre",
"locale": "fr",
"two_fa_enabled": false
}
],
"api_keys": [
{
"klass": "v1/api_key",
"id": 10710,
"created_at": "2024-06-29T14:47:01.131Z",
"updated_at": "2024-06-29T14:47:01.131Z",
"public_key": "pk_sandbox_nQ4y56sOOvKEmFnIAM0xkjsR"
}
],
"balances": [
{
"klass": "v1/balance",
"id": 237008,
"amount": 0,
"mode": "coris_money",
"created_at": "2024-06-29T14:47:01.116Z",
"updated_at": "2024-06-29T14:47:01.116Z"
},
{
"klass": "v1/balance",
"id": 237007,
"amount": 0,
"mode": "orange_bf",
"created_at": "2024-06-29T14:47:00.982Z",
"updated_at": "2024-06-29T14:47:00.982Z"
},
{
"klass": "v1/balance",
"id": 237006,
"amount": 0,
"mode": "moov_bf",
"created_at": "2024-06-29T14:47:00.930Z",
"updated_at": "2024-06-29T14:47:00.930Z"
},
{
"klass": "v1/balance",
"id": 237005,
"amount": 0,
"mode": "moov_ci",
"created_at": "2024-06-29T14:47:00.874Z",
"updated_at": "2024-06-29T14:47:00.874Z"
},
{
"klass": "v1/balance",
"id": 237004,
"amount": 0,
"mode": "wave_ci",
"created_at": "2024-06-29T14:47:00.819Z",
"updated_at": "2024-06-29T14:47:00.819Z"
},
{
"klass": "v1/balance",
"id": 237003,
"amount": 0,
"mode": "wave_sn",
"created_at": "2024-06-29T14:47:00.768Z",
"updated_at": "2024-06-29T14:47:00.768Z"
},
{
"klass": "v1/balance",
"id": 237002,
"amount": 0,
"mode": "sbin",
"created_at": "2024-06-29T14:47:00.719Z",
"updated_at": "2024-06-29T14:47:00.719Z"
},
{
"klass": "v1/balance",
"id": 237001,
"amount": 0,
"mode": "bmo",
"created_at": "2024-06-29T14:47:00.642Z",
"updated_at": "2024-06-29T14:47:00.642Z"
},
{
"klass": "v1/balance",
"id": 237000,
"amount": 0,
"mode": "uba_atm",
"created_at": "2024-06-29T14:47:00.590Z",
"updated_at": "2024-06-29T14:47:00.590Z"
},
{
"klass": "v1/balance",
"id": 236999,
"amount": 0,
"mode": "uba",
"created_at": "2024-06-29T14:47:00.523Z",
"updated_at": "2024-06-29T14:47:00.523Z"
},
{
"klass": "v1/balance",
"id": 236998,
"amount": 0,
"mode": "orabank_tpe",
"created_at": "2024-06-29T14:47:00.474Z",
"updated_at": "2024-06-29T14:47:00.474Z"
},
{
"klass": "v1/balance",
"id": 236997,
"amount": 0,
"mode": "ecobank_tpe",
"created_at": "2024-06-29T14:47:00.426Z",
"updated_at": "2024-06-29T14:47:00.426Z"
},
{
"klass": "v1/balance",
"id": 236996,
"amount": 0,
"mode": "orange_ml",
"created_at": "2024-06-29T14:47:00.344Z",
"updated_at": "2024-06-29T14:47:00.344Z"
},
{
"klass": "v1/balance",
"id": 236995,
"amount": 0,
"mode": "togocel",
"created_at": "2024-06-29T14:47:00.294Z",
"updated_at": "2024-06-29T14:47:00.294Z"
},
{
"klass": "v1/balance",
"id": 236994,
"amount": 0,
"mode": "airtel_ne",
"created_at": "2024-06-29T14:47:00.242Z",
"updated_at": "2024-06-29T14:47:00.242Z"
},
{
"klass": "v1/balance",
"id": 236993,
"amount": 0,
"mode": "free_sn",
"created_at": "2024-06-29T14:47:00.192Z",
"updated_at": "2024-06-29T14:47:00.192Z"
},
{
"klass": "v1/balance",
"id": 236992,
"amount": 0,
"mode": "orange_sn",
"created_at": "2024-06-29T14:47:00.136Z",
"updated_at": "2024-06-29T14:47:00.136Z"
},
{
"klass": "v1/balance",
"id": 236991,
"amount": 0,
"mode": "orange_ci",
"created_at": "2024-06-29T14:47:00.083Z",
"updated_at": "2024-06-29T14:47:00.083Z"
},
{
"klass": "v1/balance",
"id": 236990,
"amount": 0,
"mode": "moov_tg",
"created_at": "2024-06-29T14:47:00.025Z",
"updated_at": "2024-06-29T14:47:00.025Z"
},
{
"klass": "v1/balance",
"id": 236989,
"amount": 0,
"mode": "mtn_ci",
"created_at": "2024-06-29T14:46:59.973Z",
"updated_at": "2024-06-29T14:46:59.973Z"
},
{
"klass": "v1/balance",
"id": 236988,
"amount": 0,
"mode": "moov",
"created_at": "2024-06-29T14:46:59.922Z",
"updated_at": "2024-06-29T14:46:59.922Z"
},
{
"klass": "v1/balance",
"id": 236987,
"amount": 0,
"mode": "stripe_gw",
"created_at": "2024-06-29T14:46:59.873Z",
"updated_at": "2024-06-29T14:46:59.873Z"
},
{
"klass": "v1/balance",
"id": 236986,
"amount": 0,
"mode": "mtn",
"created_at": "2024-06-29T14:46:59.820Z",
"updated_at": "2024-06-29T14:46:59.820Z"
}
],
"bank_accounts": [],
"mobile_accounts": [],
"card_accounts": [],
"currencies": [
{
"klass": "v1/currency",
"id": 1,
"name": "FCFA",
"iso": "XOF",
"code": 952,
"prefix": null,
"suffix": "CFA",
"div": 1,
"default": true,
"created_at": "2018-05-27T21:26:23.618Z",
"updated_at": "2024-06-16T16:41:46.068Z",
"modes": [
"mtn",
"cybersource",
"moov",
"mtn_ci",
"moov_tg",
"orange_ci",
"orange_sn",
"free_sn",
"airtel_ne",
"togocel",
"orange_ml",
"mtn_open",
"mtn_ecw",
"ecobank_tpe",
"orabank_tpe",
"uba",
"stripe_gw",
"uba_atm",
"bmo",
"mtn_open_ci",
"sbin",
"wave_sn",
"wave_ci",
"moov_ci",
"moov_bf",
"orange_bf",
"coris_money"
]
}
]
}
}