Skip to main content
PATCH
/
payin
/
mock-payin-status
cURL
curl --request PATCH \
  --url https://sandbox.dollarpe.xyz/pis/api/v1/payin/mock-payin-status \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-SIGNATURE: <api-key>' \
  --header 'X-TIMESTAMP: <api-key>' \
  --data '
{
  "payin_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
  "payin_status": "SUCCESS"
}
'
{
  "status": true,
  "message": "Success",
  "data": {
    "payin_id": "4e6f1b20-a73c-11ec-b909-0242ac120002",
    "payin_status": "SUCCESS"
  }
}

Authorizations

X-API-KEY
string
header
required

API Key for authentication

X-TIMESTAMP
string
header
required

Current timestamp in seconds since epoch

X-SIGNATURE
string
header
required

HMAC SHA256 signature of the request encoded in Base64

Body

application/json
payin_id
string<uuid>
required
Example:

"4e6f1b20-a73c-11ec-b909-0242ac120002"

payin_status
string
required
Example:

"SUCCESS"

Response

Payin Status updated successfully

status
boolean
Example:

true

message
string
Example:

"Success"

data
object