DADOS ENVIADOS:
array(6) {
["reference_id"]=>
string(4) "0003"
["customer"]=>
array(4) {
["name"]=>
string(13) "Jose da Silva"
["email"]=>
string(15) "teste@teste.com"
["tax_id"]=>
string(11) "12345678909"
["phones"]=>
array(1) {
[0]=>
array(4) {
["country"]=>
string(2) "55"
["area"]=>
string(2) "21"
["number"]=>
string(9) "987172990"
["type"]=>
string(6) "MOBILE"
}
}
}
["items"]=>
array(1) {
[0]=>
array(5) {
["reference_id"]=>
string(18) "referencia do item"
["name"]=>
string(12) "nome do item"
["description"]=>
string(11) "descrição"
["quantity"]=>
string(1) "1"
["unit_amount"]=>
string(5) "10000"
}
}
["qr_codes"]=>
array(1) {
[0]=>
array(1) {
["amount"]=>
array(1) {
["value"]=>
string(5) "10000"
}
}
}
["payment_methods_configs"]=>
array(1) {
[0]=>
array(2) {
["type"]=>
string(11) "credit_card"
["config_options"]=>
array(1) {
[0]=>
array(2) {
["option"]=>
string(18) "installments_limit"
["value"]=>
string(1) "6"
}
}
}
}
["notification_urls"]=>
array(1) {
[0]=>
string(38) "https://www.jgi.com.br/ps3/webhook.php"
}
}
DADOS RESPONSE:
array(13) {
["id"]=>
object(stdClass)#2 (1) {
["scalar"]=>
string(41) "CHEC_FC56DBEB-2BA2-4CFB-852D-B4ECDAA0862A"
}
["reference_id"]=>
object(stdClass)#3 (1) {
["scalar"]=>
string(4) "0003"
}
["created_at"]=>
object(stdClass)#4 (1) {
["scalar"]=>
string(25) "2025-03-13T12:38:04-03:00"
}
["status"]=>
object(stdClass)#5 (1) {
["scalar"]=>
string(6) "ACTIVE"
}
["customer"]=>
object(stdClass)#6 (3) {
["name"]=>
string(13) "Jose da Silva"
["email"]=>
string(15) "teste@teste.com"
["tax_id"]=>
string(11) "12345678909"
}
["customer_modifiable"]=>
object(stdClass)#7 (1) {
["scalar"]=>
bool(true)
}
["items"]=>
object(stdClass)#8 (1) {
[0]=>
array(5) {
["reference_id"]=>
string(18) "referencia do item"
["name"]=>
string(12) "nome do item"
["quantity"]=>
int(1)
["description"]=>
string(11) "descrição"
["unit_amount"]=>
int(10000)
}
}
["additional_amount"]=>
object(stdClass)#9 (1) {
["scalar"]=>
int(0)
}
["discount_amount"]=>
object(stdClass)#10 (1) {
["scalar"]=>
int(0)
}
["payment_methods_configs"]=>
object(stdClass)#11 (1) {
[0]=>
array(2) {
["type"]=>
string(11) "CREDIT_CARD"
["config_options"]=>
array(1) {
[0]=>
array(2) {
["option"]=>
string(18) "INSTALLMENTS_LIMIT"
["value"]=>
string(1) "6"
}
}
}
}
["notification_urls"]=>
object(stdClass)#12 (1) {
[0]=>
string(38) "https://www.jgi.com.br/ps3/webhook.php"
}
["payment_notification_urls"]=>
object(stdClass)#13 (1) {
[0]=>
string(38) "https://www.jgi.com.br/ps3/webhook.php"
}
["links"]=>
object(stdClass)#14 (3) {
[0]=>
array(3) {
["rel"]=>
string(4) "SELF"
["href"]=>
string(85) "https://sandbox.api.pagseguro.com/checkouts/CHEC_FC56DBEB-2BA2-4CFB-852D-B4ECDAA0862A"
["method"]=>
string(3) "GET"
}
[1]=>
array(3) {
["rel"]=>
string(3) "PAY"
["href"]=>
string(92) "https://pagamento.sandbox.pagbank.com.br/pagamento?code=fc56dbeb-2ba2-4cfb-852d-b4ecdaa0862a"
["method"]=>
string(3) "GET"
}
[2]=>
array(3) {
["rel"]=>
string(10) "INACTIVATE"
["href"]=>
string(96) "https://sandbox.api.pagseguro.com/checkouts/CHEC_FC56DBEB-2BA2-4CFB-852D-B4ECDAA0862A/inactivate"
["method"]=>
string(4) "POST"
}
}
}
URL de pagamento (rel PAY): https://pagamento.sandbox.pagbank.com.br/pagamento?code=fc56dbeb-2ba2-4cfb-852d-b4ecdaa0862a