{ "status": { "error_code": "INVALID_CURRENCY", "status": "ERROR", "message": "The request attempted an operation that requires a currency, but the value was missing or not recognized. The request was rejected. Corrective actio

Here is my payment that I am trying to post but I’m still getting the error:

{

"amount": 101,

"currency": "SGD",

"customer": "cus_63a8d27a05769f9d0edb7c8c7b7bd55z",

"payment_method": {

    "type": "sg_mastercard_card",

    "fields": {

        "number": "4111111111111111",

        "expiration_month": "12",

        "expiration_year": "27",

        "name": "John Doe",

        "cvv": "345"

    },

    "metadata": {

    "merchant_defined": **true**

}

},

"capture": **true**

}