Confirm crypto payment
PUT
/api/v1/payments/crypto/confirm
Confirm a crypto payment transaction with GEN and return access tokens.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” payment_id
required
Payment Id
string
transaction_hash
required
Transaction Hash
string
Responses
Section titled “ Responses ”Successful Response
ConfirmCryptoResponse
object
access_tokens
Any of:
Array<string>
null
credit_purchases
Any of:
Array<object>
CreditPurchaseobject
id
required
Id
integer
social_account
Any of:
SocialAccount
object
identifier
required
Identifier
string
agent_id
required
Agent Id
string
agent_name
required
Agent Name
string
organization_id
required
Organization Id
integer
null
null
credit_purchase
Any of:
CreditPurchase
object
id
required
Id
integer
social_account
Any of:
SocialAccount
object
identifier
required
Identifier
string
agent_id
required
Agent Id
string
agent_name
required
Agent Name
string
organization_id
required
Organization Id
integer
null
null
Bad Request
Not Found
Payment confirmation failed
Internal Server Error