Verify Payment

Payment details can be retrieved from social pay using the reference key via social pay and passing the private key as header.

GET https://socialpay.socialconnector.io/api/v1/transaction/reference/uT6BLMFErqfxPJw

Headers

{
    "payment_transaction": {
        "id": 85,
        "page_link": null,
        "transaction_reference": "9Z3A69mejuqXs4ye5DUG2tGo6CYZHuT6BLMFErqfxPJw",
        "first_name": "Tes",
        "last_name": "Sal",
        "email": "tes@digitalmarketing.org",
        "phone": "+2348078422238",
        "amount_charge": "5.00",
        "custom_fields": [],
        "raw_response": null,
        "transaction_date": null,
        "status": "expired",
        "created_at": "2022-09-30T21:34:02.000000Z",
        "updated_at": "2022-09-30T22:05:02.000000Z",
        "provider_fee": 0,
        "payout_address": "H4sb623xjuMFZAX3RW8x5m7SDYhaQacZ5wztTJkNFZKs",
        "signature": null,
        "blockchain_data": null,
        "provider_address": "CVdSH1tJmjtfdJzpGAw5V41Rx9ovJc5FWcUGzWWyt4RU",
        "transaction_memo": "REV_508587108281",
        "merchant_id": 6,
        "fee_bearer": "client",
        "transaction_type": "inline",
        "cryptocurrency_type": "$DEV",
        "redirect_url": null,
        "expires_at": "2022-09-30T22:04:02.000000Z",
        "coin": {
            "id": 2,
            "coin_name": "DEV",
            "coin_symbol": "$DEV",
            "token_address": "J3wWVGF52xoc6N4c4dmKVm9d4m4oR6AoKrA8ARCfQJSs",
            "blockchain": "solana"
        }

Request

curl https://socialpay.socialconnector.io/api/v1/transaction/reference/uT6BLMFErqfxPJw \
-H "Content-Type: application/json" \
-H "private_key: PRIVATE_KEY" \
-X GET

Response

{
    "payment_transaction": {
        "id": 85,
        "page_link": null,
        "transaction_reference": "9Z3A69mejuqXs4ye5DUG2tGo6CYZHuT6BLMFErqfxPJw",
        "first_name": "Tes",
        "last_name": "Sal",
        "email": "tes@digitalmarketing.org",
        "phone": "+2348078422238",
        "amount_charge": "5.00",
        "custom_fields": [],
        "raw_response": null,
        "transaction_date": null,
        "status": "expired",
        "created_at": "2022-09-30T21:34:02.000000Z",
        "updated_at": "2022-09-30T22:05:02.000000Z",
        "provider_fee": 0,
        "payout_address": "H4sb623xjuMFZAX3RW8x5m7SDYhaQacZ5wztTJkNFZKs",
        "signature": null,
        "blockchain_data": null,
        "provider_address": "CVdSH1tJmjtfdJzpGAw5V41Rx9ovJc5FWcUGzWWyt4RU",
        "transaction_memo": "REV_508587108281",
        "merchant_id": 6,
        "fee_bearer": "client",
        "transaction_type": "inline",
        "cryptocurrency_type": "$DEV",
        "redirect_url": null,
        "expires_at": "2022-09-30T22:04:02.000000Z",
        "coin": {
            "id": 2,
            "coin_name": "DEV",
            "coin_symbol": "$DEV",
            "token_address": "J3wWVGF52xoc6N4c4dmKVm9d4m4oR6AoKrA8ARCfQJSs",
            "blockchain": "solana"
        }
    }
}

Last updated