> For the complete documentation index, see [llms.txt](https://capitalsage.gitbook.io/sagecloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://capitalsage.gitbook.io/sagecloud/betting/fund-betting.md).

# Fund Betting

This endpoint allows you to fund your betting account

## Fund Betting Account

<mark style="color:green;">`POST`</mark> `https://sagecloud.ng/api/v2/betting/payment`

type can be Bet9ja, BangBet, NairaBet, SupaBet, CloudBet, BetLion, 1xBet, MerryBet, BetWay, BetLand, BetKing, LiveScoreBet, NaijaBet.

#### Headers

| Name                                            | Type   | Description            |
| ----------------------------------------------- | ------ | ---------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Check the Headers page |

#### Request Body

| Name                                         | Type   | Description                   |
| -------------------------------------------- | ------ | ----------------------------- |
| reference                                    | string | A unique key generated by you |
| type<mark style="color:red;">\*</mark>       | string | The betting platform          |
| customerId<mark style="color:red;">\*</mark> | string | The customer account id       |
| name<mark style="color:red;">\*</mark>       | string | Customer Name                 |
| amount<mark style="color:red;">\*</mark>     | string | Amount to Fund                |

{% tabs %}
{% tab title="200 Betting payment successful.NOTE: status can be "success" ,"pending" or "failed"" %}

```
{
    "success": true,
    "message": "Bet payment successful",
    "status": "success",
    "data": {
        "type": "Bet9ja",
        "date": "2022-02-25 13:18:15",
        "name": "Lorenzo Von Matterhon
        ",
        "customerId": "44064397",
        "amount": "100.00"
    }
}
```

{% endtab %}
{% endtabs %}
